use File::Basename; my $infile=$ARGV[0]; my $filename = basename($infile, ".top"); [download]
In reply to Re: Extract main name of file by Anonymous Monk in thread Extract main name of file by Anonymous Monk