perl script to exe

From: Xaver Biton (javier_at_t-online.de)
Date: 01/30/04


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



Relevant Pages

  • Re: from vbs to exe
    ... a script into an EXE file. ... the self-executing zip will end up being an EXE ... You can't actually compile a VBS file. ... Script is text-based programming. ...
    (microsoft.public.scripting.vbscript)
  • Re: disable the Print Screen function
    ... Request if you can share stepwise procedure to compile this exe. ... Task Manager is used to end the process, ... Can the script be altered to prevent one of both of these workarounds? ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Compiled perl executable
    ... same script in 5.8.6 only runs one copy. ... see that one is the child of the other: the parent is the instance you ... changed as it did not do this for 5.8.6 (only ran one exe). ... compile time option that would achieve this. ...
    (comp.lang.perl.misc)
  • Re: about vbs to exe
    ... it's not programming code. ... It won't compile. ... If you want a VBS to look and act like an EXE you ... EXE to anyone running the script, it's still a VBS, ...
    (microsoft.public.scripting.wsh)
  • Generating Hex Numbers to brute force rs_iis.c
    ... In playing with rs_iis.c in our lab, ... I know there's been a shell script released that already ... in a PERL script. ...
    (Vuln-Dev)