use warnings; use strict; use File::Basename; my @extensions = qw/.html .htm .HTML .HTM/; my $a = 'index.html'; my $basename = basename $a,@extensions; print $basename;
--
Regards,
Helgi Briem
helgi AT decode DOT is
In reply to Re: a small help in split
by helgi
in thread a small help in split
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |