RE: Split function in Perl

2005-07-26 Thread Michael Louie Loria
{ ~ return 1; # Valid date ~} ~ } else { ~return 0; # Not a date ~ } } The link for that code is http://www.regular-expressions.info/dates.html coz you might not understand the code Thanks, Michael Louie Loria -BEGIN PGP SIGNATURE- Comment: Public Key: https://www.biglumber.com/x/web

Re: Split function in Perl

2005-07-26 Thread Michael Louie Loria
$Bill Luebkert wrote: Michael Louie Loria wrote: I'm tesing the Text::ParseWords I'm new in Perl and I'm a little bit confused with the PATTERNS option but I'm learning it. Is this code good for checking valid date in the format -MM-DD? or do you have any other suggestions What's

Split function in Perl

2005-07-25 Thread Michael Louie Loria
four five six seven the difference is the string enclosed withis considered as 1 string even with spaces. Thanks, Michael Louie Loria -BEGIN PGP SIGNATURE- Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8 Comment: Public Key: http://www.lorztech.com/GPG.txt Comment