Re: windows command line

2002-04-14 Thread Jonathan E. Paton
> Can someone tell me how do I execute a command line in windows using perl? perldoc -f system perldoc perlop (look for "qx" under Quotes and Quote-like operators) E.g. my $output = `do command`; or system"the command"; These may raise errors, which you ***SHOULD*** CHECK for. Don't as

windows command line

2002-04-14 Thread Thiago Ferreira
hi, can someone tell me how do I execute a command line in windows using perl? thanks, Thiago.

RE: perlcc "the system cannot find the file specified". ??

2002-04-14 Thread Timothy Johnson
Is perlcc in your path? It sounds to me like your OS can't find perlcc. Try using the full path to perlcc. -Original Message- From: Joe Collins To: [EMAIL PROTECTED] Sent: 4/14/02 12:39 PM Subject: Q: perlcc "the system cannot find the file specified". ?? I run perlcc and get the erro

Q: perlcc "the system cannot find the file specified". ??

2002-04-14 Thread Joe Collins
I run perlcc and get the error "the system cannot find the file specified". My options are -o to create the executable. Any ideas what it wants? I confirmed the .pl I am compiling is clearly visible. TIA, Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Validate Credit Card

2002-04-14 Thread Timothy Johnson
Check out CPAN. You might have to install the modules by hand, but they might be more up-to-date. -Original Message- From: Dan To: [EMAIL PROTECTED] Sent: 4/13/02 10:14 PM Subject: Validate Credit Card Hello All, Could some one give me some ideas on how to validate a Credit Card num

CGI::ReadParse

2002-04-14 Thread Shaun Fryer
I'm having a little difficulty understanding how CGI::ReadParse is supposed to work. I have the misfortune of only knowing how to use cgi-lib.pl for parsing form data. It's extremely easy. Now I have the problem of trying to port old perl scripts I've written to using the CGI::ReadParse module. I

Re: Scope of my() declared variables WAS( Re: -e $filename...)

2002-04-14 Thread Jenda Krynicky
From: Ahmed Moustafa <[EMAIL PROTECTED]> > Elaine -Hfb- Ashton wrote: > > I always found the local, my, our mess pretty confusing and the best > > explanation is MJD's "Coping with Scoping" > > > > http://perl.plover.com/FAQs/Namespaces.html > > > > Make good note of the text in red :) > > Elai

Mail-Mboxparser

2002-04-14 Thread Ankit Gupta
Hello, I have downloaded Mail-Mboxparser module as I have to parse emails in Mailbox for their From, UID and Message body part. This module is dependent on Mime-tools package and Mime-tools package is further dependent on some more modules. I have windows Me and have PPM for installing modules a

Re: Perl on the Palm OS?

2002-04-14 Thread Todd Wade
What you do here is build a web based app. The palm already has a browser in it, so no software installation is necessary. All the palm meeds is a url. This wonf it every circumstance, but web apps are usually the way to go. trwww <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

Re: How can a sub return true or false?

2002-04-14 Thread Jonathan E. Paton
> >> You could use 0 as false and 1 (or another non-zero value) as true. > > > >Why does an empty string work as 0 (false)? > > Because Perl said so. An empty string is false. > s/Perl/Larry Wall/; Jonathan Paton __ Do You Yahoo!? Everything you

Validate Credit Card

2002-04-14 Thread Dan
Hello All, Could some one give me some ideas on how to validate a Credit Card number. I would like to use a perl module but for every windows perl module such as Business-CreditCard I get the following error. Error installing package 'Business-OnlinePayment': Read a PPD for 'Business-OnlinePa

RE: Reading an always changing in real time.

2002-04-14 Thread Timothy Johnson
I think there might be some RADIUS-specific modules out there that you might want to check into as well. -Original Message- From: Brian Smith To: [EMAIL PROTECTED] Sent: 4/13/02 11:44 AM Subject: Re: Reading an always changing in real time. I found it ... never mind! :) open (GWFILE,

Re: Password Encryption for MySQL field

2002-04-14 Thread rory oconnor
OK, this is neat, but I can't seem to get it to wrok correctly. I can insert it just fine (i see the encrypted password in the field), but when I try to select it using the plain text password I can't. (using perl) for inserting: $insert_user = "insert into $table (email,password,date) VALUES (

Re: How can a sub return true or false?

2002-04-14 Thread Jeff 'japhy' Pinyan
On Apr 14, Ahmed Moustafa said: >Steven Brooks wrote: >> You could use 0 as false and 1 (or another non-zero value) as true. > >Why does an empty string work as 0 (false)? Because Perl said so. An empty string is false. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~

Re: How can a sub return true or false?

2002-04-14 Thread Ahmed Moustafa
Steven Brooks wrote: > You could use 0 as false and 1 (or another non-zero value) as true. Why does an empty string work as 0 (false)? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]