Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: how to use perl variable in system command to run on unix

by Laurent_R (Canon)
on Sep 03, 2013 at 22:47 UTC ( [id://1052190]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -de 42
    
    Loading DB routines from perl5db.pl version 1.33
    ...
    ack_nomem.pl
    fringe.pl
    khalou2.pl
    
  2. or download this
      DB<6> print join "\n", grep { -M $_ < 50 } glob ("Old_PL_programs/*.
    +*");
    Old_PL_programs/ack_nomem.pl
    Old_PL_programs/fringe.pl
    Old_PL_programs/khalou2.pl
    
  3. or download this
      DB<7> print join "\n", map {s/^.*\/(.+)/$1/r} grep -M $_<50, glob ("
    +Old_PL_programs/*.*");
    ack_nomem.pl
    fringe.pl
    khalou2.pl
    
  4. or download this
      DB<7> print map {s/^.*\/(.+)/$1/; "$_\n"} grep -M $_<50, glob ("Old_PL_programs/*.*");

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found