Quoting Jeff 'japhy' Pinyan <[EMAIL PROTECTED]>: > O > my @dirs = split /\//, $cd; # splitting on forward slashes > my @dirs = split '/', $cd; # same thing, less ugly > >
Nice tip Jeff, thanks! :) ------------------------------------------------------------ This email was sent from Netspace Webmail: http://www.netspace.net.au -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>