perl script to exe
From: Xaver Biton (javier_at_t-online.de)
Date: 01/30/04
- Next message: David K. Wall: "Re: regexp"
- Previous message: Brian McCauley: "Re: printing sub results in heredocs"
- Next in thread: H. Wade Minter: "Re: perl script to exe"
- Reply: H. Wade Minter: "Re: perl script to exe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 19:28:08 +0100
Hi,
I'm playing a little bit around, trying to compile some script to exe. Many
of the script are working, but there a bit of code that give me a message
error :
Can't use an undefined value as an ARRAY reference at
PERL2EXE_STORAGE/Win32/TieRegistry.pm line 720.
[CODE]
use Win32::MachineInfo;
my $host = shift || "";
if (Win32::MachineInfo::GetMachineInfo($host, \%info)) {
for $key (sort keys %info) {
print "$key=", $info{$key}, "\n";
}
} else {
print "Error: $^E\n";
}[/CODE]when I run the script with the prel interpreter ActiveState
win32 5.6 work correctly.thks.Xaver
- Next message: David K. Wall: "Re: regexp"
- Previous message: Brian McCauley: "Re: printing sub results in heredocs"
- Next in thread: H. Wade Minter: "Re: perl script to exe"
- Reply: H. Wade Minter: "Re: perl script to exe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|