On Fri, 31 Aug 2001, Kingpin wrote:

> 
> > If it has to look for __DATA__ then does it have to look for
> > some especially thorny cases where something might look like
> > '__DATA__' but doesn't really start the __DATA__ section of a
> 
> If there is such a case, it is not thorny, it is the programmer trying
> to do something very sneaky and making his program look like it's
> doing something that it's not.  (That programmer does not deserve to
> have his pod parsed correctly ;-)

I wouldn't find something like the following,

#!/usr/bin/perl -w

my @data = <DATA>;

print <<EOF;
print '@data';
__DATA__
Bar
EOF

__DATA__
Foo

... to be all that unreasonable to do.



 - ask
 
-- 
ask bjoern hansen, http://ask.netcetera.dk/   !try; do();


Reply via email to