hi, I have the following code:
.............
sub MakeSixthEntry()
{
$box = $_Globals{POPUP_FRM}->BrowseEntry( -variable =>
\$_Globals{LX_VERSION},
-choices =>\@IPREAL,
-browsecmd =>\&MakeEth,
-listwidth =>60,
-state => $state)
->pack(-anchor => "w");
}
............
sub ParseDhcpdconf()
{
..............
my $newline2=qq{host clin09 \{hardware ethernet
$_Globals{MAC_ADDRESS};\n
filename "/bootp/linux/$_Globals{LX_VERSION}/alize/startup.txt";\n};
.................
}
It works but I must use a global variable $_Globals{LX_VERSION} and what I
wanted is to use a local variable that can use in another function by passing it
to the function.
Thanks.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]