Help for this page

Select Code to Download


  1. or download this
    
    package Thing;
    ...
    }
    
  2. or download this
    "my" variable $cwd masks earlier declaration in same statement at Thin
    +g.pm line 31.
    
  3. or download this
    method getcwd() {
        return $self->topdir;
    }
    
  4. or download this
    perl -c Thing.pm 
    Bareword "nnext" not allowed while "strict subs" in use at Thing.pm li
    +ne 21.
    syntax error at Thing.pm line 29, near ") {"
    Global symbol "$self" requires explicit package name at Thing.pm line 
    +30.
    Thing.pm had compilation errors.