Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Strings with @

by stubblyhead (Initiate)
on Mar 10, 2006 at 17:18 UTC ( #535756=note: print w/replies, xml ) Need Help??


in reply to Re: Strings with @
in thread Strings with @

while (<$f>) { chomp; system "rsh $_ quota report | mail $recip" and die "rsh failed: $!"; }
shouldn't that be or die rather than and die?

Replies are listed 'Best First'.
Re^3: Strings with @
by ayrnieu (Beadle) on Mar 11, 2006 at 03:45 UTC

    No, it should not. Unix programs return 0 on success.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2022-05-25 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?