Hello, I'm trying to do the following, but I'm not having much luck.
------------ use strict; use warnings; use 5.010; use CGI qw(param); my %q; my $referrer = 'http://www.bing.com/search?q=stainless+wire+rope&t=hhhh'; my $q = CGI->new($referrer); say '$q = '. $q->param('q'); # 'q' is empty ------------ How can I get the 'q' parameter from $referrer? In case it matters, this variable is coming from a db. Thank you, Angela A2 Hosting now has Perl 5.10.1 http://www.a2hosting.com/1250.html -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/