Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: passing arguments to subroutine

by PrakashK (Pilgrim)
on Jul 24, 2001 at 00:43 UTC ( #99164=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: passing arguments to subroutine
in thread passing arguments to subroutine

Change:

system("cp -fRp $dir/controlpanel") or die "Problems copying dir : $!\ +n";
To:
system("cp -fRp $dir/controlpanel") == 0 or die "Problems copying dir +: $!\n";
system returns the exit status of the program being run, and the programs conventionally return 0 (zero) on success.


Comment on Re: Re: Re: passing arguments to subroutine
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-04-19 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (478 votes), past polls