Re: Beginners' books for Perl newbies using Windows?

2008-09-18 Thread jeff pang
2008/9/19 Phillip Pi <[EMAIL PROTECTED]>: > > Thank you, but I don't see anything about hardcopy books. > -- Well, I think you should buy the book "learning Perl" which is suitable for both unix users and windows users, since Perl is a Cross-Platform language. -- To unsubscribe, e-mail: [EMAIL P

Re: Beginners' books for Perl newbies using Windows?

2008-09-18 Thread Phillip Pi
> > I am looking for a few Perl books that are good for beginners who have > > very little or no programming skills, but use computers for software > > quality assurance/SQA testings. The books need to be easy to understand > > and learn based on Windows environments (2000, XP, and Vista). > > > >

Re: Beginners' books for Perl newbies using Windows?

2008-09-18 Thread Jeff Pang
2008/9/19 Phillip Pi <[EMAIL PROTECTED]>: > Hello. > > I am looking for a few Perl books that are good for beginners who have > very little or no programming skills, but use computers for software > quality assurance/SQA testings. The books need to be easy to understand > and learn based on Windows

Beginners' books for Perl newbies using Windows?

2008-09-18 Thread Phillip Pi
Hello. I am looking for a few Perl books that are good for beginners who have very little or no programming skills, but use computers for software quality assurance/SQA testings. The books need to be easy to understand and learn based on Windows environments (2000, XP, and Vista). My two Perl

Re: script to SFTP without NET::SFTP module

2008-09-18 Thread Rob Dixon
Mike Flannigan wrote: > [EMAIL PROTECTED] wrote: >> >> Does any one have a simple script to retrieve a file from a remote >> server using SFTP? >> >> I can not use the net::stp module because I do not have the required >> authority to add modules to our Perl interpeter. > > About a year ago I spent

[Fwd: Re: script to SFTP without NET::SFTP module]

2008-09-18 Thread Mike Flannigan
--- Begin Message --- About a year ago I spent a half day trying to do this with no restrictions placed on me. I was unsuccessful. In my searches I came to the conclusion that there was no publicly available method to get it done. I hope that is still not the case. Mike Flannigan On Fr

Re: Processing multiple line

2008-09-18 Thread Mr. Shawn H. Corey
On Thu, 2008-09-18 at 10:21 -0400, Aali Naser wrote: > I still have no luck after trying your suggestions. I could use some > more > ideas if you guys dont mind. Please send them my way, I ll appreciate > it. > #!/usr/bin/perl use strict; use warnings; my $sep = "\t"; my @tags = ( 'Server Nam

Re: Processing multiple line

2008-09-18 Thread Aali Naser
Gentlemen, I still have no luck after trying your suggestions. I could use some more ideas if you guys dont mind. Please send them my way, I ll appreciate it. A On Thu, Sep 18, 2008 at 3:03 AM, Dr.Ruud <[EMAIL PROTECTED]<[EMAIL PROTECTED]> > wrote: > "John W. Krahn" schreef: > > > #!/usr/bin/pe

Re: change web pages in browser

2008-09-18 Thread Jenda Krynicky
From: Adams Paul <[EMAIL PROTECTED]> > Hello to everyone, > I am trying to use Perl to open the browser and then go to different web > pages. > I have tried the following code. > #!/usr/bin/perl > use LWP::SIMPLE; > system ("start iexplore \"www.google.com\""); > foreach my $URL ('http://www.go

RE: mysql conect doesn't work for web application

2008-09-18 Thread Bob McConnell
From: Qinying Xu > > I am coding an web appliction, which should connect to > Mysql DB. I tried the connection source cold on Linux, > it works well. But when I run it through the web, the > scripts just stopped. I found it died after runing the > line: > my $conn = Mysql->connect($self->{db_host

RE: Need help with developing Twiki plugins

2008-09-18 Thread Stewart Anderson
> -Original Message- > From: Manasi Bopardikar [mailto:[EMAIL PROTECTED] > Sent: 18 September 2008 10:30 > To: beginners@perl.org > Subject: Need help with developing Twiki plugins > > Hi, > >I need some help developing Twiki plugins.Can anyone give me some > comprehensive information

Re: How to replace use of $* since that's no longer supported?

2008-09-18 Thread John W. Krahn
[EMAIL PROTECTED] wrote: Hi, Hello, I'm running a perl script using perl 5.10 and getting this warning: $* is no longer supported at migrate.pl line 380. I know very little about perl so am wondering if someone can point me to documentation about what $* was and how to migrate code to whate

Need help with developing Twiki plugins

2008-09-18 Thread Manasi Bopardikar
Hi, I need some help developing Twiki plugins.Can anyone give me some comprehensive information on Twiki and step by step of how to deveop a plugin using standard twiki functions? Thanks and Regards, Manasi Bopardikar|s/w Engineer|Persistent SystemsLtd (+91)(020)(30234497)|9371059891 [E

Re: discard sessions when close browser

2008-09-18 Thread Raymond Wan
Hi, Sorry, I might be missing something, but when the client closes the browser window, no message is sent to the web server. So, I think the server has no way of knowing that a window has closed. The best alternative might be to set a time limit on client information and purge it periodic

Re: -T switch or tainted ?

2008-09-18 Thread Raymond Wan
Hi Jack, Ruud kindly answered your question about your code; about finding documentation to explain things, I think any intro on Perl's taint mode would suffice. perlsec might be something you should read after you've passed through the introductory material. For example, this page came up

Re: -T switch or tainted ?

2008-09-18 Thread Dr.Ruud
Jack Gates schreef: > my $oldfile = $ARGV[0]; my ($oldfile) = $ARGV[0] =~ /^([a-z]+)$/; die "bad old filename" unless $oldfile; > my $newfile = $ARGV[1]; my ($newfile) = $ARGV[1] =~ /^([a-z]+)$/; die "bad new filename" unless $newfile; > open(OF, $oldfile) open my $OF, "<", $ol

mysql conect doesn't work for web application

2008-09-18 Thread Qinying Xu
I am coding an web appliction, which should connect to Mysql DB. I tried the connection source cold on Linux, it works well. But when I run it through the web, the scripts just stopped. I found it died after runing the line: my $conn = Mysql->connect($self->{db_host},$self->{db_name},$self->{db

How to replace use of $* since that's no longer supported?

2008-09-18 Thread rory . kingan
Hi, I'm running a perl script using perl 5.10 and getting this warning: $* is no longer supported at migrate.pl line 380. I know very little about perl so am wondering if someone can point me to documentation about what $* was and how to migrate code to whatever is supposed to be used instead? f

-T switch or tainted ?

2008-09-18 Thread Jack Gates
Okay now I have a question because I can't find an answer. The Perl documentation does not answer my question and I can't find an answer using Google. At the top of my script I have: #!/usr/bin/perl -T use strict; use warnings; use diagnostics -verbose; When I put the -T switch in the script I

Re: HTTP Redirects

2008-09-18 Thread Nigel Peck
Rob Dixon wrote: Hmm. Well it would have helped if you had said that your script was running under mod_perl rather than perl. It's not running under mod_perl. Cheers, Nigel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Processing multiple line

2008-09-18 Thread Dr.Ruud
"John W. Krahn" schreef: > #!/usr/bin/perl > use warnings; > use strict; > > open SERVERS, '<', 'sample.txt' or die "Cannot open 'sample.txt' $!"; > > # set the Input Record Separator > $/ = "--\n"; > > while ( ) { > my $server_name = /^Server Name:\s+(.+)/m; > m