For my bad memory
$file="file.name.extension";$file =~ s/(.*)\./$1/;##or$file =~ s/\.[^.]*$//;will return you $file="file.name";
Post a Comment
No comments:
Post a Comment