Re: OT: a short Perl question

2002-04-28 Thread Dan Kenigsberg

Thanks to everyone who answered me on and off the list. 

print standalone\n if (!caller);

seems just what I've been looking for.
(comparing $0 to the script's name would also work most of the times.)

Dan.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: OT: a short Perl question

2002-04-28 Thread Nadav Har'El

On Sun, Apr 28, 2002, Dan Kenigsberg wrote about Re: OT: a short Perl question:
 Thanks to everyone who answered me on and off the list. 
 
   print standalone\n if (!caller);

Interesting.

Dan, thanks for posting the answer you got here. I was interested in the
answer to this too, and was hoping someone posts an answer.
Just goes to show you why people should better respond *ON THE LIST*, not
in personal email to the person who asked the question.

It's no fun reading a list with only questions and no answers...


-- 
Nadav Har'El|   Sunday, Apr 28 2002, 16 Iyyar 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Computers are useless. They can only
http://nadav.harel.org.il   |give you answers. -- Pablo Picasso

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]