in reply to Re: use strict;,$main::, and AUTOLOAD: Why can't we all get along?
in thread use strict;,$main::, and AUTOLOAD: Why can't we all get along?

In reverse order, sorry about the typo, typically I'm using $_ as a complex array of arrays and get a little sloppy in my notation (hmmm, note to self-- sloppy in this context usually means 'possibly bug-ridden', needs checking). As far as tadman's approach goes, I've no objection other than the additional typing, which come to think of it might actually be a little clearer in terms of what I'm doing-- i.e. self documenting. Sorry you were irked-- I thought a routine that deals with call refs might as well be called that! I like your economy of style though even if you are not happy with the proposed solution.

--hsm

"Never try to teach a pig to sing...it wastes your time and it annoys the pig."
  • Comment on Re: Re: use strict;,$main::, and AUTOLOAD: Why can't we all get along?

Replies are listed 'Best First'.
Re^3: use strict;,$main::, and AUTOLOAD: Why can't we all get along?
by Aristotle (Chancellor) on Jul 18, 2002 at 17:12 UTC

    Oh, the being irked was not personal, nothing to be sorry for. I just thought the code was somewhat unclear and proposed what I think might be more readable.

    As far as subroutine naming goes, I prefer to call subroutines after what they do, rather than what they receive (verb vs subject). But that's a whole different can of worms.. :-)

    Makeshifts last the longest.