Re: how to reun perl script on other pc without having to install perl

2008-05-05 Thread David Nicholas Kayal
Yes, have you heard of a product called perltoexe by activestate? On Sun, 4 May 2008 [EMAIL PROTECTED] wrote: Hi, What must I do to my perl script so that my friends can run my perl script from their computer, using windows as the operating system, without having to install perl into their s

Re: regex question

2008-04-25 Thread David Nicholas Kayal
Thank you. On Fri, 25 Apr 2008, J. Peng wrote: On Fri, Apr 25, 2008 at 12:47 AM, David Nicholas Kayal <[EMAIL PROTECTED]> wrote: why is the first one true? check 'perldoc perlre' : The following standard quantifiers are recognized: * Match 0 or

regex question

2008-04-25 Thread David Nicholas Kayal
[EMAIL PROTECTED] quick_test]$ cat test_regex.pl #!/usr/bin/perl -w use strict; my $line = "test_text"; if($line =~ m/^\d*/) { print "true\n"; } else { print "false\n"; } if($line =~ m/^\d/) { print "true\n"; } else { print "false\n"; } [EMAIL PROTECTED] quick_t