$tempfile =~ s!\.[^\.]+$!!;
That matches everything after and including the last literal period in the filename, and gets rid of it.
In reply to Re: thanks
by chromatic
in thread thanks, i'm new. rtfm right? :)
by derrickm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |