Stories
Slash Boxes
Comments
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)

runrig
  dougwNO@SPAMcpan.org

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.

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(
  $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).

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