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 };
Roderich,
thank you for your answer! No, it does not happen with
> pp -o hello.exe -e 'print "hello\n"'
> ./hello.exe
hello.exe runs fine.
> If this runs OK, does your program (or any modules it uses)
> something like
> $d = Digest->new("SHA");
Yes, it uses Data::Serializer.
Nele
On Mon, Jan 11, 2010 at 1:48 PM, Nele Kosog wrote:
> When running the EXE the program exits with the following error message:
>
> Can't locate object method "new" via package "Digest::SHA" at Digest.pm
> line 43
> (#1)
> (F) You called a method correctly, and it correctly indicated a
> package