in reply to multiple __DATA__ && __END__
I know this isn't exactly what you're asking. But there are instances where it might be just as appropriate, and somewhat simpler to use one or more HERE documents instead of the <DATA> filehandle. ...just a thought... there's always more than one way to do it. ;) A HERE doc will be equivilant to slurping an entire file into a scalar. But maybe that's not so bad in some situations. And with multiple HERE docs, the possibilities open up.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: multiple __DATA__ && __END__
by Coruscate (Sexton) on Nov 21, 2003 at 00:09 UTC |