Quoth ange...@unix.gr (Angelos Karageorgiou):
> On 12/1/2010 4:10 μμ, Nele Kosog wrote:
> >
> > I have compiled an executable using the following command:
> > "pp -x --gui -o my_program.exe my_program.pl"
> >
> > While --gui blocks the console window for the main application, it does
> > not see
On 12/1/2010 5:04 μμ, Ben Morrow wrote:
From activeperl's faq, other variants use some other technique maybe ?
BEGIN {
my ($DOS) = Win32::GUI::GetPerlWindow();
#hide console window
if ( $DOS ) {
Win32::GUI::Hide($DOS) unless ($ARGV[0] eq '--keep');
}
This part is unnecessa
Nele Kosog wrote:
Hi,
I have compiled an executable using the following command:
"pp -x --gui -o my_program.exe my_program.pl"
While --gui blocks the console window for the main application, it does
not seem to prevent other console windows from opening.
my_program.pl uses two command line t
> Do you use 'system' to start the command line?
No, I use back ticks my $result = `command`;
> How about something like this instead
> Win32::Process::Create($ProcessObj,
>$ExeName,
>$Args,
>0,
Do you use 'system' to start the command line?
How about something like this instead
Win32::Process::Create($ProcessObj,
$ExeName,
$Args,
0,
NORMAL_PRIORITY_CLASS,
On 12/1/2010 4:10 μμ, Nele Kosog wrote:
> Hi,
>
> I have compiled an executable using the following command:
> "pp -x --gui -o my_program.exe my_program.pl"
>
> While --gui blocks the console window for the main application, it does
> not seem to prevent other console windows from opening.
>
>
Hi,
I have compiled an executable using the following command:
"pp -x --gui -o my_program.exe my_program.pl"
While --gui blocks the console window for the main application, it does
not seem to prevent other console windows from opening.
my_program.pl uses two command line tools to calculate so
Roderich,
I did it again. Yes, it is an obvious, stupid, major mistake: I forgot to
update the appropriate module which is in the @INC. When I added "use
Digest::SHA;" and recompiled the executable (pp -x --gui -o my_program.exe
my_program.pl), it all worked well.
Thank you so much for your ef
Thanks for your detailed reply!
With use Digest::SHA; I can at least compile my program into an executable:
pp -x --gui -o my_program.exe my_program.pl
The executable doesn't run though. The process appears in the Task Managers
list of processes and then just dies and disappears. No messages,
On Tue, Jan 12, 2010 at 9:37 AM, Nele Kosog wrote:
> Since the Digest method is passed as string, I think Data::Serializer uses
> "SHA-256" (that's the default and I don't pass a different parameter to
> Data::Serializer).
> ...
> No, it doesn't work with -M Digest::SHA.
Referring to the side n
The constructor of Data::Serializer takes a "digester" string which is later
passed on to Digest:
Digest->new($digester); (line 668)
I can't find any "use" or "require" statements but I think (correct me if I am
wrong) Data::Serializer uses this line to load modules:
eval { require $package };
11 matches
Mail list logo