Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Writing to a file

by AnomalousMonk (Archbishop)
on May 05, 2017 at 22:21 UTC ( [id://1189625]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Writing to a file
in thread Writing to a file

Just for future reference, a "command line call" can usually be converted into a "program" fairly easily:

c:\@Work\Perl\monks>perl -MO=Deparse -pe "s#\bold(?=/path/to/some/)#ne +w#g" LINE: while (defined($_ = <ARGV>)) { s[\bold(?=/path/to/some/)][new]g; } continue { die "-p destination: $!\n" unless print $_; } -e syntax OK
See O and B::Deparse.


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

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

    No recent polls found