Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Shell v Perl, here-doc as stdin

by dga (Hermit)
on Apr 11, 2003 at 16:03 UTC ( [id://249911]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open FH, "|system_command";
    print FH <<EOF
    
    EOF
    
  2. or download this
    open my $fh, "|-", "system_command";
    
  3. or download this
    open FH, "|system_command";
    my $stuff="some things to pass along to system command\n";
    print FH $stuff;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://249911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found