Re: [PBML] remove last 3 characters
>I have the following file: 01Jan2002.log.gzI like File::Basename, myself.
>and I would like to remove the last 3 characters ( .gz ) so that it
>looks like this: 01Jan2002-12:00:02.log
($file, $path, $suffix) = fileparse("/path/to/01Jan2002-23:00:02.log.gz01Jan2002-12:00:02.log
print $file . "\n" . $path . "\n" . "$suffix" . "\n";
This should yield the following output:
Hope this helps,
IT Programmer Analyst
Saskatchewan Government Insurance
Ph (306) 751-1795
"The best way to accelerate a Win9x machine is at 9.81m/s2."