Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

runrig (3385)


Just another perl hacker somewhere near Disneyland

I have this homenode [] of little consequence on Perl Monks [] that you probably have no interest in whatsoever.

I also have some modules [] on CPAN [] some of which are marginally [] more [] useful [] than others.

Journal of runrig (3385)

Tuesday September 14, 2004
12:28 AM

use strict or else;

[ #20869 ]
I'm slightly further along in learning Wx, but was derailed for 15 minutes or so because I broke up my Wx::App and Wx::Frame subclasses into different files, and started using Wx::Panel. The Wx::Frame class no longer had "use strict;" (oops), and I had something like:

$frame->{panel} = Wx::Panel->new(...);
...and then later
$frame->{text_field} = Wx::TextCtrl->new(
  ..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).

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.