Re: Executing perl code on the command line

2005-03-12 Thread renard
Hi, perl -e "print qq(Hello\n)" works fine for me. What does not work is : perl -e 'print qq(Hello\n)' - Original Message - From: "Gomez, Juan" <[EMAIL PROTECTED]> To: "renard" <[EMAIL PROTECTED]>; "Perl Beginners List" Cc:

Re: Executing perl code on the command line

2005-03-12 Thread renard
single quote around the perl code fails...need to use double quotes. - Original Message - From: "Bakken, Luke" <[EMAIL PROTECTED]> To: "renard" <[EMAIL PROTECTED]>; "Perl Beginners List" Sent: Friday, March 11, 2005 10:52 AM Subject: RE: Exec

Executing perl code on the command line

2005-03-11 Thread renard
I am running ActivePerl 5.8.6 on Windows XP. I am unable to execute a statement like -- perl -e '' -- I always get this response: Can't find string terminator "'" anywhere before EOF at -e line 1. Does not matter if I use (', ", or `) .. same response expect it can't find the string terminator

Re: remove a file ?

2005-01-30 Thread renard
use the unlink command. perldoc -f unlink - Original Message - Sent: Sunday, January 30, 2005 10:47 PM Date: Sun, 30 Jan 2005 20:14:51 +0100 From: Gerard Robin <[EMAIL PROTECTED]> Subject: remove a file ? To: beginners perl Message-id: <[EMAIL PROTECTED]> MIME-version: 1.0 Content-type: t

Re: How to find regex at specific location on line

2005-01-25 Thread renard
I am a newbie and have been following this thread since I am interested in benchmarking. So I copied the code and ran it on my machine. I have a 3.5 MHz system runing Windows XP. I am using ActivePerl 3.8.6. On my machine, benchmark complained about too few iterations. So I modified the script in t

Re: DLL and Perl

2005-01-04 Thread renard
handling binary data but it is difficult to provide pointers as is, IMO. Sorry pushed the Send button too fast the first time. alfred, renard wrote: Could someone point me to document(s) which describes how to use a dll in a perl script. I have a dll and information describing its function calls. I

DLL and Perl

2005-01-03 Thread renard
Could someone point me to document(s) which describes how to use a dll in a perl script. I have a dll and information describing its function calls. I have tried to google but unfortunately I did not use the appropriate search words. Thank You