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

Re: Is there any way to successfully use utime in a -pi loop? (ARGVOUT)

by tye (Sage)
on Jul 23, 2012 at 21:20 UTC ( [id://983237]=note: print w/replies, xml ) Need Help??


in reply to Is there any way to successfully use utime in a -pi loop?

You need to close the output file handle there, ARGVOUT. No, I didn't test if that was enough to make it work, though.

- tye        

Replies are listed 'Best First'.
Re^2: Is there any way to successfully use utime in a -pi loop? (ARGVOUT)
by samwyse (Scribe) on Jul 23, 2012 at 23:41 UTC
    D'oh!!! Thanks, I don't know how I missed that. Well, really, I do. I my scripting confirming that $ARGV was the name of the output file, so obviously ARGV had to be the file itself, right?

Log In?
Username:
Password:

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

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

    No recent polls found