Hi, all -- ...and then David T-G said... % ... % I can't modify $fullpath because I'll use it later, but for parsing I % don't need the leading "/mp3/" part, and the only way I've found to get % rid of it elegantly is % % ... % @working = split(/\//,$fullpath) ; # cut path in pieces % shift @working ; shift @working ; # strip [what was] /mp3 % ...
While it may not be a perfect solution, I hit upon (undef,undef,@working) = # peel off /mp3 ... split(/\//,$fullpath) ; # ... as we split into pieces and find it much of an improvement. Further improvement is welcome :-) Two down (perhaps even out!), and one to go... TIA & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg25696/pgp00000.pgp
Description: PGP signature