Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Check if "System" was succesful

by vaevictus (Pilgrim)
on Apr 09, 2004 at 13:39 UTC ( #343900=note: print w/replies, xml ) Need Help??


in reply to Check if "System" was succesful

my first thought is to
use File::Copy; my $status = copy("file1.txt","file2.txt"); if ($status) { print "good, now deleting\n"; unlink "file1.txt"; } else { print "bad, don't delete\n"; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2020-11-24 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?