in reply to splitting a string into arbitrary lengths
..although as a previous poster mentioned, you might lose a little in readability.my ($y, $m, $d) = $today =~ /(\d){4}(\d){2}(\d){2}/;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: splitting a string into arbitrary lengths
by bmann (Priest) on Jun 22, 2005 at 22:03 UTC | |
by moot (Chaplain) on Jun 23, 2005 at 02:20 UTC |