Thought I would propose one more argument on the 'importance' of parens and subs.
While putting together <http://www.wetware.com/drieux/pbl/Sys/Admin/Net/interface_read.plx>
I of course had my usual devolutions, because It is easier, for me, to put a RegEx in a function that I will call twice, than have to go through the cut and paste clean ups on two lines, if I change my mind.
so while it is possible to do
$rx_line = get_number_from_line $rx_line;
this will require that the get_number_from_line() is either pre-declared, or will always be a sub prior to the current one. So in exchange for the extra typing of the parens, I gain the liberty to not have to worry when the perl compiler gets around to resolving that I meant it to be a function.... I do not have to maintain the functions in a given order, nor maintain a list of pre-defined functions.
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>