Hi,
I've been playing with File::Basename and
the docs are not absolutely clear on whether
you can get an extension on a linux system.
I have had no success trying, so does this mean
that linux is not capable of dealing with extensions?


As an example from perldoc File::basename:
###############################################
#!/usr/bin/perl -w                                                              
use strict;                                                                     
use File::Basename;                                                             
my($base,$path,$type) = fileparse('/virgil/aeneid/draft.book7');                
print $base,"\n",$path,"\n",$type,"\n";                                         
#################################################

This gives

draft.book7
/virgil/aeneid/
Use of unitialized value in print at line5
 

 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to