Greetz#!/usr/bin/perl -w use strict; my $url = "http://www.oreilly.com/catalog/lperl3/index.html"; my ($page) = $url =~ /.*\/([^\/]*)/; print $page;
In reply to Re: Get the filename from the end of a URL
by Beatnik
in thread Get the filename from the end of a URL
by ip9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |