Schuyler D. Erle on Wed, 17 Nov 1999 14:10:10 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Virus.


> You didn't try did you? First of all, BEGIN blocks are executed as soon
> as compiled - that's before __DATA__ was seen, hence there's no DATA
> filehandle. Secondly, it needs a second change of the file, putting a
> __DATA__ at the end. Which is, if there's already a __END__ there, not very
> useful.


Oops. Never tried that in a BEGIN block before, never occurred to me it would make a difference. I've been working with Perl for three years, and I learn something new about it almost every day.

SDE
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**