is more efficient regarding time and/or memory than your solution?($name) = split /-\d/,$string,2;
Just wonder because I thought that this will just split into two array elements, thus saving some memory (maybe) but at least some time.
In reply to Re: Re: regex problem!
by Skeeve
in thread regex problem!
by atnonis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |