On 7/4/07, Joseph L. Casale <[EMAIL PROTECTED]> wrote:

($volume,$directories,$file) = 
File::Spec<http://perldoc.perl.org/File/Spec.html>->splitpath( $path );

I am leveraging this fine, but would like to shove the last directory from the 
path in $directories into a new var.
Is there a function from this module that can do this cleanly?

Do you mean splitdir?

Hope this helps!

--Tom Phoenx
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to