On 4/25/06, John Ackley <[EMAIL PROTECTED]> wrote: > if( $url =~ /\/(.*$)/ ) > > then characters after last / are found in $1
Unfortunately, characters after the first slash are in there, too. To process a URL requires more than a simple pattern match. Use a module from CPAN. Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>