Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: UNIX 'command' equivalents in Perl

by eyepopslikeamosquito (Chancellor)
on Jul 20, 2007 at 22:56 UTC ( #627904=note: print w/replies, xml ) Need Help??


in reply to UNIX 'command' equivalents in Perl

For the touch command, suggest you add utime in addition to open/close, since if the file already exists you don't need to open and close it, you can simply call the utime built-in function to change its access and modification times.

Replies are listed 'Best First'.
Re^2: UNIX 'command' equivalents in Perl
by Anonymous Monk on Aug 05, 2009 at 13:37 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://627904]
help
Chatterbox?
Discipulus is Corion reading 'Gory details of parsing quoted constructs'?..
[perldigious]: That's awesome erix. One of my work friends, who coincidentally convinced me to learn Perl originally, has a Finnish pen-pal. I showed him this and he immediately wanted to send it along to her.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2016-12-06 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.