Help for this page

Select Code to Download


  1. or download this
    my $foo = 'bar'; 
    my $bazqux = 42; 
    my $quux = "$bazqux ${foo}s"; 
    my $money = 'gold'; 
    my $total_fortune = $quux . "of $money\n";
    
  2. or download this
    my $foo           = 'bar'; 
    my $bazqux        = 42; 
    my $quux          = "$bazqux ${foo}s"; 
    my $money         = 'gold'; 
    my $total_fortune = $quux . "of $money\n";
    
  3. or download this
    my ($foo, $bar,..., $baz,... $qux) = @hash{'abc', 'def',..., 'pqr',...
    + 'yz'};
    
  4. or download this
    my $foo = $hash{abc}; 
    my $bar = $hash{def};
    ...
    .
    .
    my qux = $hash{yz};
    
  5. or download this
    $q->param('foo','bar','baz')
    
  6. or download this
    $q->param(-name => 'foo', -values => ['bar', 'baz'])