Think about Loose Coupling | |
PerlMonks |
Re^2: my within bracketsby Bod (Parson) |
on Oct 14, 2021 at 20:04 UTC ( [id://11137543]=note: print w/replies, xml ) | Need Help?? |
the usual and customary way to write that code Yes - I would always write it as my ($x, $y). WRT brackets in the split, I used to include them but have moved away from doing so as I feel it is easier to read without them. There was a time when I used brackets for virtually everything, including print statements! I do use them where they are not strictly necessary any time that precedence might be in less then obvious.
In Section
Seekers of Perl Wisdom
|
|