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.
Comment on
RE: Random fortune one-liner
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.
[reply]
In Section
Cool Uses for Perl