Help for this page

Select Code to Download


  1. or download this
    sub another_method {
        my ($self, $magic_val) = @_;
        $$[MAGIC_VALS]{$magic_val} = 1;
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    $$[0] = 1;
    $$[1] = 'dude!';
    print "@$", "\n";     # Prints "1 dude!"