Gossamer Forum
Quote Reply
input as hash? how
I'm trying to figure out how to take the $IN and set it has a hash.

Example:

use Links qw/$IN/;

%hash = $IN->param{'*'} <- all the variables

Now I have seen something crazy like this:

%hash = %{&cgi_to_hash($IN)};

but you have to import tons of crazy modules for a crazy job, and I really don't understand it.


CGI.pm supports %hash = $IN->Vars; (I thought anyway!)

You would think it would be that simple, But this does not seem to work.

I need $IN->param{'name'} etc. to work also.

Any suggestions?

- Jonathan
Subject Author Views Date
Thread input as hash? how jdgamble 2569 Aug 3, 2006, 1:22 PM
Thread Re: [jdgamble] input as hash? how
brewt 2476 Aug 3, 2006, 1:43 PM
Post Re: [brewt] input as hash? how
jdgamble 2473 Aug 3, 2006, 2:42 PM