Help for this page

Select Code to Download


  1. or download this
    package BaseClass;
    use Class::Std;
    ...
    #    use overload (q{0+} => 'as_num', fallback=>1);
        1;
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    my $x = 0 ;
    $x += $c ;
    print "x = $x\n";
    
  3. or download this
    [stbaldwin@audev02 dev]$ ./tst.pl
    Use of uninitialized value in method lookup at (eval 2) line 3.
    Can't locate object method "" via package "BaseClass" at (eval 2) line
    + 3