Works fine on the Linux box, no go on the Windows box. Anyone have another idea?
Thanks, -Scott On Tue, 8 Jan 2002, Scott wrote: > > I'm new to Perl, so take this with a grain of salt, but I did it like this: > > use strict; > > use File::Basename; > > my $basename; > > my $filename = 'yourfile.tag'; > > ($basename) = fileparse($filename, '\.tag'); > > print "basename = $basename\n"; > > # see perldoc File::Basename for more info. fileparse() can give you the path > > and file extension also. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]