Help for this page

Select Code to Download


  1. or download this
    sub AS_ARRAY {
        my $self=shift;
        # do something useful here
    }
    
  2. or download this
    $obj->[42];  # would be the same as
    $obj->AS_ARRAY(42);  # and so on...
    
  3. or download this
    # -*- Perl -*-
    
    ...
    1;
    
    __END__
    
  4. or download this
    #!/usr/bin/perl -l
    
    ...
    print +(matrix(1,1,1,0)**12)->(1,0);
    
    __END__
    
  5. or download this
    #!/usr/bin/perl
    
    ...
    END { warn "Leaving program\n" }
    
    __END__
    
  6. or download this
    --- Testing <code> ---
    Creating Foo=CODE(0x224eb4)
    ...
    Leaving context
    Leaving program
    Deleting Foo=CODE(0x224eb4)