On 4/25/07, Nishi <[EMAIL PROTECTED]> wrote:
Hi:
The File::Basename from 5.8.0 doesnot work in Perl 5.8.2 or Perl 5.8.7. Is
there any particular reason.
I have a script that uses the Basename module was running file with 5.8.0,
but it doesnt work fine when i run the script in Perl 5.8.2 or Perl 5.8.7. I
tried copying the basename.pm from 5.8.0 perl\lib dir to 5.8.2 and 5.8.7 but
it didnt work.
I am just trying to strip of the filename $fn from a path such as
C:\temp\myfile.txt
$fn = basename($_); <-- should return myfile.txt
Please let me know.
Thanks, Nishi.
File::Basename is part of base Perl. If it does not work then you do
not have a vaild install of Perl.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/