Keep It Simple, Stupid | |
PerlMonks |
Re: HTML::ENTITIES for URL encodingby cheako (Beadle) |
on Mar 04, 2015 at 20:44 UTC ( [id://1118793]=note: print w/replies, xml ) | Need Help?? |
My best guess is that should have been: 'http://google.com/">' Regardless it looks like your problem is that you need to turn on "use strict;". The you'll see that $self->query does not exist! Try instead "my( $query ) = shift;" and use "my @params = $query->param();" (Notice no arguments) to fetch the list of parameters. If you need to filter to just parameter names containing special chars filter using "next".
In Section
Seekers of Perl Wisdom
|
|