| |
thread by: jjliu |
last post Jul 19 '05 by: Eric J. Roode
Could someone tell me how to parse the inside of html tags by perl, such as
<meta> </meta>
<head> </head>
<title> </title>
.........
Thanks
|
thread by: G Kannan |
last post Jul 19 '05 by: Eric J. Roode
Hey all!
I have written a perl script to retrieve information from a HTML Form
and insert the data into an Oracle database table. I am gettting the
the following error message:
"Use of uninitialized value in concatenation (.) at register.pl line
38, <STDIN> line 10."
The PERL code is as follows:
|
thread by: Seldon Wells |
last post Jul 19 '05 by: Seldon Wells
http://groups.yahoo.com/group/SandHillEC/
|
thread by: Bert |
last post Jul 19 '05 by: Bert
How do I convert an ascii to hex? I want the hex stored in a variable, not
just printed out.
For example,
my testchars = 'CICS003'
How do I store that value in hexchars?
I know this is basic, but it eludes me...
Thanks from a newbie.
|
thread by: Yannick Turgeon |
last post Jul 19 '05 by: Yannick Turgeon
Hello all,
I just started to use perl and I'm having a Regexp question:
Say we've got a file with this in it:
---- Beginning of file after this line --------
My list
A: cat
B: dog
C: horse
|
thread by: Bert |
last post Jul 19 '05 by: Bert
Thank you all for your help. A newbie is smarter for your efforts. Thank
you.
|
thread by: James Hull |
last post Jul 19 '05 by: Slaven Rezic
Hi All:
I am new in the Perl world. So far I have installed cygwin and Perl 5.8.0
along with Perl DBI and DBD::Oracle modules. NowI am trying to install Perl
Tk on my PC (Windows 2K). I have tried both Tk804.025 and Tk804.025_beta2.
However, both versions failed with following errors. It appeared that the
command "perl Makefile.PL" ran...
|
| |
thread by: Psybar Phreak |
last post Jul 19 '05 by: dw
hi all,
im developing a site in perl with mason on a postgreSQL backend.
i currently have a page that lists all items in a table, but would like to
do the
" << PREVIOUS 1 2 3 4 NEXT>> "
sort of thing - say LIMIT of 10 records to a page.
|
thread by: blah blah blah |
last post Jul 19 '05 by: blah blah blah
Does anyone know of a tool, freeware prefered, that will build a win32
exe from a perl script? I know one exists for the mac.
Thanks much.
|
thread by: jjliu |
last post Jul 19 '05 by: nobull
Could someone point me out that why the following perl program only print
'title'. I expect the contents in h1, keywords and description to print out
as well. thanks.
JJL
#!/usr/bin/Perl
use LWP::Simple;
|
thread by: Dmitry |
last post Jul 19 '05 by: Dmitry
Hello everyone,
I have a really simple question here:
I have a plain space delimited file that I want to read with WHILE
loop 1 line at the time and process each input record as an array of
elements. Then, on the next iteration of the loop, clean up the array
and populate it with contents of the next input record. Each input
record...
|
thread by: robb |
last post Jul 19 '05 by: Bill
Hi
I have a modem on my computer, and would like to log callerid from it,
I'm a complete novice at programming perl, but with reading the docs
I've managed to get to a stage using win32::serial module that I have
set the modem to recieve caller id, but I dont know how to just sit
and wait listening to the serial port, so I can process the...
|
thread by: jjliu |
last post Jul 19 '05 by: Gunnar Hjalmarsson
Could someone tell me how to remove all html tags (and anything inside tags)
by perl. Some people suggested me to use HTML::TagFilter but i could not
find window version. Thanks very much for your help.
JJL
|
thread by: Fredrik Ramsberg |
last post Jul 19 '05 by: Fredrik Ramsberg
When searching for a specific sequence of charcters, like ($text =~ /monkeybreath/),
how efficient is Perl compared to other algorithms specifically developed for this
purpose? Does Perl recognise that it can use its index() functionality to search?
And how efficient are index() and rindex() compared to the best text search
algorithms?
...
|
thread by: B McInnes |
last post Jul 19 '05 by: B McInnes
Hello, I am trying to store approximately 50- 100 million variable
length strings into an array and of course this is not working due to
memory constraints. I have converted the strings to unique integers
and then stored the integers in a vec which lets me store about 60
million before I run out of memory. My question is: has anyone else
run...
|
| |
thread by: Mario Fischer |
last post Jul 19 '05 by: Mario Fischer
Hi!
I wrote a small SQL-parser for SELECT-statements for the purpose of
easier switching between databases. The parser also works with
multiple-table-queries.
Until here everything is fine, but when I try to read out the
information from flatfiles I get in trouble.
An example: I'm reading all columns of 2 tables and I want to search
for...
|
thread by: Boris R. |
last post Jul 19 '05 by: Boris R.
Hi, I am trying to embed perl into the Pliant language. Does perl
dynaload module do some kind of strange things ? Please read the thread
at http://pliant.cx/pliant/browse/forum/pliant.question/03ES1XB/ and
if you have a suggestion, post it there.
Thanks,
Boris
|
thread by: Richard |
last post Jul 19 '05 by: Richard
I am writing a script which accesses a DBM file using SDBM. The
program works but throws out a warning of: -
Argument "O_RDWR" isn't numeric in null operation
I've included Fcntl but that doesn't solve the problem. Does anyone
why this is happening?
Thanks
|
thread by: MadHatter |
last post Jul 19 '05 by: Roy Johnson
Hello,
is there any command line switch or anything else which would allow me
to use the standard input as the source for a script? so that I could
type perl hit return and type out the script and allow it to
execute? I know about using file redirection "<", but I don't want to
put the source on a file and redirect it's contents to the...
|
thread by: arctan |
last post Jul 19 '05 by: arctan
Hello Group
I was wondering in anyone knew of or could generate a script that
takes an input file which consists of one long line of charachters,
and would output the file inverted (backwards)
i.e. input file looks like: opkiltyo
output file looks like: oytlikpo
|
thread by: Psybar Phreak |
last post Jul 19 '05 by: Psybar Phreak
hi all
ive tried installing this manually after downloading the tarball from cpan,
as well as using the cpan prompt (im using cygwin btw)
when i go to "make test" on ANY version of Apache::Session - the
installation hangs at "t/99dbfile....."
i even left it running overnight thinking it may just take a whle - but no
luck come morning
|
thread by: Kevin B |
last post Jul 19 '05 by: Roy Johnson
I have the following short script that I'm using to clean up the source of a
web page in order to index and search the page:
#!/usr/bin/perl
#striphtml.pl
undef $/;
open FD, "< testfile1.txt" or die $!;
while (<FD>) {
|
thread by: Karuna |
last post Jul 19 '05 by: Andy Shitov
Hi
If I want to validate certain IP Address range
say in an IP Address range of : "15.70.186.15-100",
here where 15.70.186 is the network id and 15-100 is
the host id. I want to discover all IP Addresses that
fall in between 15.86.70.15 - 15.70.186.100 .
what regexp do i need to use ?
regds
kbs
|
| |
thread by: R. Westermeyer |
last post Jul 19 '05 by: R. Westermeyer
Hi,
I hope this isn't poor etiquette, but I have a public service
addiction website, habitsmart.com, and back in 95, a fellow from Bell
Atlantic helped me put together a self-scoring alcohol checklist using
CGI. The form is filled out, then the CGI script scores it.
The form has been linked by thousands, and though I don't draw a cent
from...
|
thread by: Me |
last post Jul 19 '05 by: Me
I'm looking for some insight to the following code. I don't understand why
when I uncomment the #$command="/usr/local/apache/cgi-bin/port-reset.exp
$portnumber"; and comment the ls command it does not execute successfully.
When the code is as below everything works fine, but switching the commented
lines cause it to fail. I send the results of...
|