my %data = ( foo => 'oof', bar => 'rab', ); my $text = "foo/bar"; $text =~ s/(\w+)/$data{$1}/g; print "($text)\n";
In reply to Re: Re: CGI parameters as global variables
by chromatic
in thread CGI parameters as global variables
by icius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |