Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print "cleaning\n";
    undef &Encode::encode;
    sleep 5;
    
  2. or download this
    sub encode($$;$)
    {
    ...
        $_[1] = $string if $check and !($check & LEAVE_SRC());
        return $octets;
    }
    
  3. or download this
    perl -lwe 'my $code = join "", map {
       "sub foo$_ { my \$var = q(x) x 1_000_000; }" } 1..1000;
       eval $code; die if $@;
       for (1..1000) { sleep 1; "foo$_"->() }'
    
  4. or download this
    sub foo1 { my $var = q(x) x 1_000_000; }
    sub foo2 { my $var = q(x) x 1_000_000; }
    # and so forth...