Keep It Simple, Stupid | |
PerlMonks |
Re^2: Help with proper construction of callable scalars from a Module, please.by taint (Chaplain) |
on Nov 13, 2013 at 02:21 UTC ( [id://1062297]=note: print w/replies, xml ) | Need Help?? |
Thank you, GrandFather. I just came back to report that I finally sorted it out. Only to find your kind words of wisdom. :) This is what I ended up with (pageblocks.pm): ...and in index.cgi:
I notice the version you posted retains my original print statements. Is there any reason I shouldn't use the return statements I've just chosen? "Define "actually works"." So noted. Thank you. --Chris #!/usr/bin/perl -Tw use Perl::Always or die; my $perl_version = (5.12.5); print $perl_version;
In Section
Seekers of Perl Wisdom
|
|