Is there a generally accepted way to get the "base" of a filename, i.e.
strip off the multi-letter extension without using any modules?  I've been
doing something like this:

$fname = shift;
$fname =~ s/\.[^.]+$//;

It feels a little hokey, though.  Maybe it's just me.

TIA.

- B 


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

Reply via email to