Here is a simple, low-overhead way:
Update Oops .. Corrected, as per Dietz (++) below. Thanks.my $month=7; $month < 10 and $month = '0' . $month; print $month;
Earth first! (We'll rob the other planets later)
In reply to Re: Regular Expression
by NetWallah
in thread Regular Expression
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |