Help for this page

Select Code to Download


  1. or download this
    for my $id (@selected) {
        $list{$id}{selected} = 1;
    ...
        print ' class="selected"' if $list{$key}{selected};
        print ">$list{$key}\n";
    }
    
  2. or download this
    #!/usr/bin/perl
    # Script part 1.
    ...
        eval $code;
        print "Wow: $Overwritten{selected}\n";
    }
    
  3. or download this
    # Script part 2.
    {   package StringRef;
    ...
    
    tie my %list, 'StringRefHash';
    eval $code;
    
  4. or download this
    # Script part 3.
    {   my %list;
        eval "$code;1" or die $@;
    }