Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

How do I use the output of one perls script as the input of another on the commandline? like a pipeline

by Gretter (Novice)
on May 14, 2009 at 15:00 UTC ( #764143=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    $arg shift @ARGV;
    print $arg;
    
  2. or download this
    #!/usr/bin/perl
    $arg shift @ARGV;
    print $arg." and two";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://764143]
Approved by linuxer
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2019-01-22 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    After Perl5, I'm mostly interested in:
































    Results (391 votes). Check out past polls.

    Notices?