Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: Random fortune one-liner

by btrott (Parson)
on Mar 30, 2000 at 12:05 UTC ( [id://6525] : note . print w/replies, xml ) Need Help??


in reply to Random fortune one-liner

Umm, I don't believe you want the "-n" in there, as that inserts a loop around your entire script body that makes your particular script not work. See perlrun. Without it the script seems to work just fine.

Replies are listed 'Best First'.
RE: RE: Random fortune one-liner
by ash (Monk) on Mar 30, 2000 at 12:53 UTC
    ok. thanks! Thats why the script never went out of the loop. (Notice the exit; at the end) It works though.