Help for this page

Select Code to Download


  1. or download this
    sub printInformationWrapper {
        open (local *STDOUT,'>',\(my $var));
        thing that prints to STDOUT
        return $var;
    }
    
  2. or download this
    {
        open (local *STDOUT,'>:utf8',\(my $b="\x{FEFF}"));
        printing_stuff
            return $b;
    }