in reply to Get the filename from the end of a URL

Try this, altho I'd recommend using davorg's solution...
#!/usr/bin/perl -w use strict; my $url = "http://www.oreilly.com/catalog/lperl3/index.html"; my ($page) = $url =~ /.*\/([^\/]*)/; print $page;
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.