Re: Web page manipulation

2006-08-03 Thread Mumia W.
On 08/03/2006 07:37 PM, Eric Krause wrote: Hello all, I am new to perl and I am trying to write a script that will allow me to automate some tasks that I do every day on the same web pages. Can anyone give me some quick examples to get web page data and pass data back to the pages? Sorry if

Re: Web page manipulation

2006-08-03 Thread Tom Phoenix
On 8/3/06, Eric Krause <[EMAIL PROTECTED]> wrote: I am new to perl and I am trying to write a script that will allow me to automate some tasks that I do every day on the same web pages. Can anyone give me some quick examples to get web page data and pass data back to the pages? You want to use

Re: Web page manipulation

2006-08-03 Thread WCJ d/b/a http://ccsh.us/
On 8/3/06, Eric Krause <[EMAIL PROTECTED]> wrote: I am new to perl and I am trying to write a script that will allow me to automate some tasks that I do every day on the same web pages. Can anyone give me some quick examples to get web page data and pass data back to the pages? Look up WWW::M

Web page manipulation

2006-08-03 Thread Eric Krause
Hello all, I am new to perl and I am trying to write a script that will allow me to automate some tasks that I do every day on the same web pages. Can anyone give me some quick examples to get web page data and pass data back to the pages? Sorry if this question is lame, I am new, but trying

RE: perl script calls batch file

2006-08-03 Thread Timothy Johnson
Your best bet here might be to use the %ERRORLEVEL% variable in your batch script and then print it to the screen with an easily identifiable tag (E.g. 'ERRORLEVEL=x'). Your perl script can just look for your status messages and pull them out with a regex: my $result; foreach my $output( @

Re: perl script calls batch file

2006-08-03 Thread Ken Foskey
On Thu, 2006-08-03 at 23:45 +0530, Shourya Sengupta wrote: > Hi, > My perl program calls a batch file on a remote machine. > Now my question is how to return a value from that batch script and how > to grab it in the perl file? using ssh to the remote machine, then you can check the return code of

Re: smash and grab

2006-08-03 Thread John W. Krahn
Rob Dixon wrote: > > Tim Wolak wrote: >> >> if($box =~ m/"$tim"/){ > > Do you intend the quotes? If the lines from the original hosts.deny file > (in @boxes) have IP addresses in quotes then you're OK, but otherwise > take them out. This is my best guess as

Re: Downloadable Perl Manual

2006-08-03 Thread Rob Dixon
Timothy Johnson wrote: > >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: Thursday, August 03, 2006 10:28 AM >> To: beginners@perl.org >> Subject: Downloadable Perl Manual >> >> Hello >> >> Is there a downloadable manual for perl? I would like to download the manual >> onto my laptop

Re: Downloadable Perl Manual

2006-08-03 Thread Rob Dixon
Timothy Johnson wrote: > >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: Thursday, August 03, 2006 10:28 AM >> To: beginners@perl.org >> Subject: Downloadable Perl Manual >> >> Hello >> >> Is there a downloadable manual for perl? I would like to download the manual >> onto my laptop

Re: smash and grab

2006-08-03 Thread Mumia W.
On 08/03/2006 10:58 AM, Tim Wolak wrote: Hi All, I'm working on a bit of code to parse a logfile, grab the IP's and put them in the deny file. In the beginning of my code I'm grabbing all the IP's in the deny file, putting them in an array to check against later to make sure that IP is not alre

RE: perl script calls batch file

2006-08-03 Thread Shourya Sengupta
The return code in this case will signify whether the batch script could be successfully called from the perl file or not. It will not contain the value specifically returned from the batch script. -Original Message- From: Smith, Derek [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03,

RE: perl script calls batch file

2006-08-03 Thread Smith, Derek
-Original Message- From: Shourya Sengupta [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 2:15 PM To: beginners@perl.org Subject: perl script calls batch file Hi, My perl program calls a batch file on a remote machine. Now my question is how to return a value from that batch s

perl script calls batch file

2006-08-03 Thread Shourya Sengupta
Hi, My perl program calls a batch file on a remote machine. Now my question is how to return a value from that batch script and how to grab it in the perl file? Regards, Shourya Infosys Technologies Ltd. Bangalore Extn: 62998 CAUTION - Disclaimer * This e-mail

install DBD::mysql, can't execute mysql_config

2006-08-03 Thread zhihua li
Hi all, recently I've been trying to install the perl package DBD::mysql. i downloaded the source and use make file to install it. but it alwayse said: can't find mysql_config. actually i've already unpacked the mysql 5.0 binary file into a directory /home/user/mysql in my system (suse). and

RE: Downloadable Perl Manual

2006-08-03 Thread Timothy Johnson
If you're using Windows then ActivePerl integrates all of the perldocs into its HTML documentation. Start-->Programs-->ActivePerl-->Documentation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 10:28 AM To: beginners@perl.org Subjec

Re: Downloadable Perl Manual

2006-08-03 Thread Tom Yarrish
You can get the Perl CD bookshelf from O'Reilly and then copy it to your laptop. It's all HTML. I put it on all of my computers for reference. Tom On Thu, 3 Aug 2006, [EMAIL PROTECTED] wrote: Hello Is there a downloadable manual for perl? I would like to download the manual onto my laptop

Re: smash and grab

2006-08-03 Thread Rob Dixon
Hello Time Tim Wolak wrote: > > I'm working on a bit of code to parse a logfile, grab the IP's and put > them in the deny file. In the beginning of my code I'm grabbing all the > IP's in the deny file, putting them in an array to check against later > to make sure that IP is not already in the f

Downloadable Perl Manual

2006-08-03 Thread andrewmchorney
Hello Is there a downloadable manual for perl? I would like to download the manual onto my laptop before I go on vacation. I really want to avoid bringing extra books. Andrew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: smash and grab

2006-08-03 Thread Rob Dixon
Hello Time Tim Wolak wrote: > > I'm working on a bit of code to parse a logfile, grab the IP's and put > them in the deny file. In the beginning of my code I'm grabbing all the > IP's in the deny file, putting them in an array to check against later > to make sure that IP is not already in the f

smash and grab

2006-08-03 Thread Tim Wolak
Hi All, I'm working on a bit of code to parse a logfile, grab the IP's and put them in the deny file. In the beginning of my code I'm grabbing all the IP's in the deny file, putting them in an array to check against later to make sure that IP is not already in the file. I can get all the informa

Re: file help

2006-08-03 Thread Ashish Srivastava
First verify that your command is giving the correct output. I don't see anything wrong with the code itself. Try to catch standard error. "Sayed, Irfan (Irfan)" <[EMAIL PROTECTED]> wrote: Hi All, I did as follows but still not getting output in a file. plz help #/usr/atria/bin/Perl -

Re: file help

2006-08-03 Thread Prabu
Sayed, Irfan (Irfan) wrote: Hi All, I did as follows but still not getting output in a file. plz help #/usr/atria/bin/Perl -w use strict; use warnings; my $CT = "/usr/atria/bin/cleartool"; my @vob_list = `$CT lsvob -s`; my $fname = "/tmp/vob_trigger"; open FILE,">>",$fname or die

DBD::mysql OS X

2006-08-03 Thread Walter Copenhaver
Hello, Has someone manage to install DBD::mysql in Mac X Tiger. Can anyone point me to a tutorial or how to do this. Thanks

file help

2006-08-03 Thread Sayed, Irfan \(Irfan\)
Hi All, I did as follows but still not getting output in a file. plz help #/usr/atria/bin/Perl -w use strict; use warnings; my $CT = "/usr/atria/bin/cleartool"; my @vob_list = `$CT lsvob -s`; my $fname = "/tmp/vob_trigger"; open FILE,">>",$fname or die $!; foreach (@vob_list) {

RE: DBI type mismatch

2006-08-03 Thread Ken Foskey
On Tue, 2006-08-01 at 10:13 -0500, Charles K. Clarkson wrote: > Bjørge Solli wrote: > > : I get an error message I don't understand. I've been following > : what I thought was good practice when talking to a DB. > > Did you import those constants? > > use DBI qw(:sql_types); I have a simil

Re: Regex for unnatural language

2006-08-03 Thread Dr.Ruud
Rob Dixon schreef: > I thought the group might like this one. > > I want a regex to check whether a string contains a sequence of > non-space characters with /both/ word and non-word characters in it > (\w and \W). > > So > >'Rob' >'SHREWSBURY' >'SY3 8BH' >'Mike & Dave' > > all pas

Re: DBI

2006-08-03 Thread Bjørge Solli
On Tuesday 01 August 2006 17:04, Greg Sabino Mullane wrote: > You need to tell DBI to import the SQL type constants. This is done by > replacing 'use DBI;' above with: > > use DBI qw(:sql_types); Do I have to do something similar to get the below to work? use strict; my $insertid; ... eval { #s

Regex for unnatural language

2006-08-03 Thread Rob Dixon
Hi. I thought the group might like this one. I want a regex to check whether a string contains a sequence of non-space characters with /both/ word and non-word characters in it (\w and \W). So 'Rob' 'SHREWSBURY' 'SY3 8BH' 'Mike & Dave' all pass, but 'http://www.site.com/' 'Rob&Da

Re: advise on writing cgi scripts to create + manage certificate authority.

2006-08-03 Thread Gregory Machin
Thanks for the lead ... But my question was focused on the creation of a certifictate authority mangment interface "using" cgi as aposed to comandline ... which is the norm ... I have a basic knowlage of perl cgi.. On 8/3/06, Gregory Machin <[EMAIL PROTECTED]> wrote: Hi I have to write a cgi ap

RE: advise on writing cgi scripts to create + manage certificate authority.

2006-08-03 Thread Nagasamudram, Prasanna Kumar
Hi Gregory If you want to lean how to write cgi scripts using perl ... The following link would be a great start... http://cgi101.com/book/ch1/text.html Thanks Prasanna -Original Message- From: Gregory Machin [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 2:09 PM To: beginn

advise on writing cgi scripts to create + manage certificate authority.

2006-08-03 Thread Gregory Machin
Hi I have to write a cgi appliction to manage a certificate authority for AES 256 CBC and 128 CBC ... How would I go about this the only application I have used for this was comand lline interactive... Any suggestions .. -- Gregory Machin [EMAIL PROTECTED] www.linuxpro.co.za