Help for this page

Select Code to Download


  1. or download this
    sub auth {
        my ($uname, $passwd, $dbsecret, $salt); 
    ...
        $passwd = shift;
        ...
    }
    
  2. or download this
    sub auth {
        my ($self, $uname, $passwd) = @_; 
        my ($dbsecret, $salt);
        ...
    }
    
  3. or download this
    ref new Foo      or warn "example 1 is not an object\n";
    ref new Foo->foo or warn "example 2 is not an object\n";
    ...
    package Foo;
    sub new { bless {} }
    sub foo { "foo" }