Help for this page

Select Code to Download


  1. or download this
    open(VIRTUALPRN, "| perl print.pl");
    
  2. or download this
    print VIRTUALPRN "foobar\n"
    
  3. or download this
    select VIRTUALPRN;  # make this the "default" output handle
    $|++;  # disable output buffering on this handle
    
  4. or download this
    use FileHandle;
    ...
    ...
    ...
    print $VirtualPrnFH "foobar\n";
    ...