in reply to LaTeX Wizard
If you declare multiple variables, do it like this:
use strict; my ( $var1, $var2, $var3 ); # or my ( $var4, $var5 ) = ( 4, 'five' );
use strict; use vars qw( $var1 $var2 $var3 $var4 $var5 ); $var4 = 4; $var5 = 'five';
update: Check out our for the successor of vars.
--8<--my $frameFileName = $mw -> Frame; $frameFileName = $mw -> Frame( qw(list of frame parameters) );
Why are you calling $mw->Frame two times, when you overwrite the first result?
You do this several times for various objects.
my $frameFileName = $mw -> Frame( qw(list of frame parameters) );
That should be enough!
Update: as vars is obsolete, corresponding part striked out. Thanks toolic++ for pointing that out.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: LaTeX Wizard
by milarepa (Beadle) on Sep 03, 2008 at 13:37 UTC | |
by linuxer (Curate) on Sep 03, 2008 at 14:50 UTC | |
by milarepa (Beadle) on Sep 03, 2008 at 21:57 UTC | |
|
Re^2: LaTeX Wizard
by toolic (Bishop) on Sep 03, 2008 at 12:49 UTC |