Just another perl hacker somewhere near Disneyland
I have this homenode [perlmonks.org] of little consequence on Perl Monks [perlmonks.org] that you probably have no interest in whatsoever.
I also have some modules [cpan.org] on CPAN [cpan.org] some of which are marginally [cpan.org] more [cpan.org] useful [cpan.org] than others.
$frame->{panel} = Wx::Panel->new(...);
...and then later
$frame->{text_field} = Wx::TextCtrl->new(
$panel,
..other args
);
$panel, of course, was undefined, as I meant to say my $panel = $frame->{panel} = Wx::Panel->new(...); in the first statement, but the program just exited at the second statement with no error (and without doing anything), and so it took awhile to find the where and why (with an abundance of "here I am"-type debug statements).
with pride (Score:2)
As I recall, there is a "use strict with pride" joke module that you can use that forces strict to apply everywhere, overriding the lexical scope of the pragma. :)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:with pride (Score:1)