Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Cannot save all image formats after compiled to exe

by swl (Priest)
on Dec 29, 2020 at 05:32 UTC ( #11125915=note: print w/replies, xml ) Need Help??


in reply to Cannot save all image formats after compiled to exe

There might be some lazy loaded modules in the Imager or Imager::QRCode modules.

What happens when you explicitly load all modules under the Imager namespace? This can be done with the -M flag, for example:

pp -x -M Imager:: -o imager.exe imager.pl

After running that on my machine I end up with several extra pm files under the Imager dir in the packed executable.

I have not tried testing if it works, though.

Replies are listed 'Best First'.
Re^2: Cannot save all image formats after compiled to exe
by CKEQvc (Novice) on Dec 29, 2020 at 10:05 UTC

    It works!

    Thank you very much!

    So, I missed -M Imager:: in my pp option.

    Thank you all...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11125915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-04-17 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?