andrew has asked for the wisdom of the Perl Monks concerning the following question:
how can I pull of the extentions so $ext would now contain ".htm" and ".cgi", I know I have to use a regex for this but what?$ext = "people.htm" $ext2 = "apple.cgi"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Finding a extention
by elusion (Curate) on Oct 05, 2002 at 16:02 UTC | |
Re: Finding a extention
by silent11 (Vicar) on Oct 05, 2002 at 16:18 UTC | |
by Rich36 (Chaplain) on Oct 05, 2002 at 16:32 UTC | |
Re: Finding a extention
by robartes (Priest) on Oct 05, 2002 at 16:25 UTC | |
Re: Finding a extention
by fruiture (Curate) on Oct 05, 2002 at 16:35 UTC |