11.38. Exercise: split CGI

Given a string that looks like this:

my $str = 'fname=Foo&lname=Bar&email=foo@bar.com';

Create a hash where the keys are fname, lname, email


If you are interested in on-site trainings by the author, please contact me directly.

Online courses:

Would you like to get
updated when I publish
the next article?

Follow me:

Google Plus Twitter RSS feed