Think about Loose Coupling | |
PerlMonks |
Re^3: prob w/ gatekeeper subroutineby GrandFather (Saint) |
on Sep 30, 2010 at 21:11 UTC ( [id://862857]=note: print w/replies, xml ) | Need Help?? |
Well, I don't want to write your assignment answer for you, so I'll give you some different code to ponder a while that may help answer some of your questions.
Prints:
Please note that using strictures is not something you do when you have time, it is something you do to save time! Strictures tell you you have done something wrong early and can save huge amounts of time that would otherwise be spent poking around in the dark after black beetles with your eyes closed. Update: In a follow up question weglarz asked 'What does the "qw" in "my @names = qw(woof k9 fred max);" do?'. See Quote-Like Operators in perlop for a description of Perl's various quote operators like qw.
True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|