in reply to Re: Regex simple quicky question :)
in thread Regex simple quicky question :)

You forgot about the path_segments method.
C:\>perl -MURI -e"die $_= ( URI->new( shift )->path_segments )[-1] " / +somepath/script.php/image.jpg image.jpg

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.