in reply to Re: splitting a number into several numbers
in thread splitting a number into several numbers
That's awesome Blake, like your solution :) But what "grep length" does in here? the following: my @vars = split /(..?)/, $str ; return: 12 34 56 ^ there is one space here, why? and grep length get rid of the space, how that magic works? -perlkid
|
---|
Replies are listed 'Best First'. | |
---|---|
Re3: splitting a number into several numbers
by blakem (Monsignor) on Jul 05, 2002 at 20:01 UTC |
In Section
Seekers of Perl Wisdom