$ext = (split /\./, $fname)[-1];
But neither take note of the fact that the file might not have an extention...
In reply to Re: Re: Extract string from rear of string
by Anonymous Monk
in thread Extract string from rear of string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |