Help for this page

Select Code to Download


  1. or download this
    this({ 
            string => $string,
    ...
        my $p = shift; # all params in hashref
        print $p->{string} x $p->{times};
    }
    
  2. or download this
    my $href = { string => "Hello, world!" };
    my $previous_error = $error;
    ...
            print $p->{string};
        }
    }
    
  3. or download this
    this();
    
    ...
        $p->{hostname} = $p->{hostname} || "0.pool.ntp.org";
        $p->{port} = $p->{port} || 123;
    }