Subject: | minor adaptations for Tk-804.025 |
I have perl-5.8.2 on Sparc/Solaris 7 (gcc-3.2.3, ithreads, shared
libperl) with Tk-804.025_beta6. The syntax checking in that Tk is
stricter and requires minor adaptations in ptkdb.pm. I think this
should also work with previous Tk's.
Best regards,
Marek
--- ptkdb.pm 2003-06-26 15:42:49.000000000 +0200
+++ /opt/perl_5.8.2/share/lib/Devel/ptkdb.pm 2003-11-17
15:59:25.473881000 +0100
@@ -2281,7 +2281,7 @@
# take the last leaf of the pathname
$frm = $self->{'breakpts_table'}->Frame(-relief => 'raised') ;
- $upperFrame = $frm->Frame()->pack(-side => 'top', '-fill'
=> 'x', 'expand' => 1) ;
+ $upperFrame = $frm->Frame()->pack(-side => 'top', '-fill' => 'x', '-
expand' => 1) ;
$btn = $upperFrame->Checkbutton(-text => "$btnName:$index",
@@ -2296,7 +2296,7 @@
$btn = $upperFrame->Button(-text => "Goto", -command => sub { $self-
Show quoted text
>set_file($fname, $index) ; } ) ;
$btn->pack(-side => 'left', -fill => 'x', -expand => 1) ;
- $lowerFrame = $frm->Frame()->pack(-side => 'top', '-fill'
=> 'x', 'expand' => 1) ;
+ $lowerFrame = $frm->Frame()->pack(-side => 'top', '-fill' => 'x', '-
expand' => 1) ;
$lowerFrame->Label(-text => "Cond:")->pack(-side => 'left') ;