in reply to Template to create modules
The second template misses strict and warnings, and its way of using Exporter is clunky. I'd use something like the following instead:
use Exporter qw{ import }; our @EXPORT_OK = qw( blah ... );
Also note that the module doesn't need Exporter if it's object oriented.
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
---|