Help for this page

Select Code to Download


  1. or download this
    my $input = \*STDIN;
    my $entity = $parser->parse($input);
    
  2. or download this
    my $input = \*STDIN;
    my @copy = <$input>;
    ...
    
    my $entity = $parser->parse($input);
    
  3. or download this
    my $input = \*STDIN;
    my $copy = $input;
    
  4. or download this
    my $input = \*STDIN;
    my @copy = <$input>;
    ...
    open($copy, "</tmp/copy.txt");
    
    my $entity = $parser->parse($copy);