L8on has asked for the wisdom of the Perl Monks concerning the following question:
$base is always blank$f='453445-5.bmp'; ($base, $dash, $copy, $ext) = split /^(\d+|\w+)(-)(\d+)(\.bmp)/, $f;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question about split
by dragonchild (Archbishop) on Dec 10, 2004 at 14:35 UTC | |
|
Re: Question about split
by davorg (Chancellor) on Dec 10, 2004 at 14:38 UTC | |
by L8on (Acolyte) on Dec 10, 2004 at 18:41 UTC | |
|
Re: Question about split
by ccn (Vicar) on Dec 10, 2004 at 14:35 UTC | |
|
Re: Question about split
by revdiablo (Prior) on Dec 10, 2004 at 19:32 UTC | |
|
Re: Question about split
by graff (Chancellor) on Dec 11, 2004 at 16:35 UTC | |
by L8on (Acolyte) on Dec 13, 2004 at 14:44 UTC |