in reply to Re: Probably silly regex question / not so silly regex question
in thread Probably silly regex question / not so silly regex question
Coffee, KitKat, and a new script to write. It's gonna be a good day....use strict; use File::Basename; my $file = '/ftp/dest/id.ext'; my ($name, $path, $suffix); my @suffixes = ('.ext'); # Extra extensions can be added to the list. ($name, $path, $suffix) = fileparse($file, @suffixes);
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: RE: Re: Probably silly regex question / not so silly regex question
by theorbtwo (Prior) on Aug 02, 2000 at 20:14 UTC |