Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: perl glob

by Eily (Vicar)
on Nov 07, 2013 at 14:45 UTC ( #1061593=note: print w/replies, xml ) Need Help??

in reply to perl glob

Instead of system "perl $_" you could use do. If you could rewrite to work on $_ you could replace your loop with do "" for @files. Or even better if can work on all arguments:

{ local @ARGV = @files; do ""; }

And if you don't want to rewrite :

foreach (@files) { local @ARGV = $_; do ""; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061593]
[Discipulus]: it is probably far from roma.. i hope is not another dramatic event..
[Discipulus]: they say is about 5 richter
Discipulus sadly in italy this can cause severe damages to buildings

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-01-18 09:38 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (161 votes). Check out past polls.