in reply to Re: Re: substr problem
in thread substr problem

so what you need is:
my $offset = -5; # or however many characters from the end # that you want my $new_string = substr $filename, $offset;

UPDATE: You might also want to read this

TStanley
--------
Never underestimate the power of very stupid people in large groups -- Anonymous