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
In reply to Re: Re: splitting a number into several numbers
by perlkid
in thread splitting a number into several numbers
by kidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |