2010/11/16 Saurabh Bhatnagar <[email protected]>:
> Hello,
> This is my first post.
>
> I have perl code to strip the root folder in a path.
> ($shortpath = $fullpath) =~ s|/[^/]+||;
>

You may want to  try:

File::Basename

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


Reply via email to