Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Cannot save all image formats after compiled to exe

by swl (Parson)
on Dec 29, 2020 at 05:32 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11125915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found