On Aug 5, 12:39 am, [EMAIL PROTECTED] (Aruna Goke) wrote:
> How can I work with this kind on expression without escaping the range.
>
> #!/usr/bin/perl
>
> use warnings;
> use strict;
> use DateTime;
>
> my $ystd = DateTime->today->subtract(days => 1);
> my $mdy = $ystd->ymd('-'); #date format in
-Original Message-
>From: Aruna Goke <[EMAIL PROTECTED]>
>Sent: Aug 5, 2007 12:39 PM
>To: beginners@perl.org
>Subject: working with regexp without escaping range symbol
>
>hello all,
>
>How can I work with this kind on expression without escaping the ra
I made a wrong substitution in the if(/$ystd/) instead of if(/$mdy/).
Thanks
Goksie
Original Message
Subject: working with regexp without escaping range symbol
Date: Sun, 05 Aug 2007 05:39:09 +0100
From: Aruna Goke <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECT
hello all,
How can I work with this kind on expression without escaping the range.
#!/usr/bin/perl
use warnings;
use strict;
use DateTime;
my $ystd = DateTime->today->subtract(days => 1);
my $mdy = $ystd->ymd('-'); #date format in 09-25-2007
my $dty = $ystd->mdy(''); #date in format 09252007