Re: Passing the hash

2003-12-04 Thread drieux
On Dec 4, 2003, at 12:21 PM, Jonathan Mangin wrote: [..] This is a pretty old book and I'm wondering if there's a newer, better way? I wish to be able to achieve what would be the results of this (if it were possible): if ($CGI->param("Screen3")) { showmeScreen3($CGI, %widgets); } ... but, of co

Passing the hash

2003-12-04 Thread Jonathan Mangin
Hello all... In my example-driven world I find [something like] this in 'CGI Programming with Perl', constructed in main:: if ($CGI->param("Screen3")) { showmeScreen3($CGI); } elsif ($CGI->param("Screen2")) { showmeScreen2($CGI); } else { showmeScreen1($CGI); } This is a pretty old book