Thread Hash-Referenz an Sub übegeben (5 answers)
Opened by pktm at 2003-10-19 00:11

Strat
 2003-10-19 02:46
#6447 #6447
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
use CGI
my $cgi = CGI->new();
my $paramsRef = $cgi->Vars();
&PrintParams($paramsRef);
# -------------------------------------------------------
sub PrintParams {
 my $paramsRef = shift; # oder my ($paramsRef) = @_;
 while (my ($key, $value)) = each %$paramsRef) {
   print "$key => $value<br>\n";
 } # while
} # PrintParams
\n\n

<!--EDIT|Strat|1066517257-->
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/

View full thread Hash-Referenz an Sub übegeben