note
IlyaM
Another common problem I've seen with usage of __DATA__ in modules is using <code>while(<DATA>)</code> without [local]izing <code>$_</code> (see [id://195926] why it is bad).
<p>
<b>Update:</b> Actually <code>$_</code> should not be used in modules at all. See [http://bugs6.perl.org/rt2/NoAuth/Display.html?id=23803|this bug report] why.
<p>
<font color="grey" size="-2">
--<br>
Ilya Martynov, <a href="mailto:ilya@iponweb.net">ilya@iponweb.net</a><br>
CTO IPonWEB (UK) Ltd<br>
Quality Perl Programming and Unix Support
UK managed @ offshore prices - <a href="http://www.iponweb.net">http://www.iponweb.net</a><br>
Personal website - <a href="http://martynov.org/">http://martynov.org</a><br>
</font>
292489
292493