Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Building a Mojolicious app with PAR::Packer

by Anonymous Monk
on Mar 02, 2012 at 13:53 UTC ( #957468=note: print w/replies, xml ) Need Help??


in reply to Re^3: Building a Mojolicious app with PAR::Packer
in thread Building a Mojolicious app with PAR::Packer

Hello all.

Did you also experience this kind of error messages with Mojo ? (Did'nt get rid of even while including or creating by hand the epl files)
Can't open file "Mojolicious\templates\exception.html.ep": No such fil +e or directory at Mojo/Home.pm line 119. Compilation failed in require at Mojolicious.pm line 6. BEGIN failed--compilation aborted at Mojolicious.pm line 6. Compilation failed in require at Mojo/Base.pm line 32.

Replies are listed 'Best First'.
Re^5: Building a Mojolicious app with PAR::Packer
by jfbaillette (Initiate) on Mar 03, 2012 at 19:46 UTC

    One solution with PAR::Packer and pp.

    Add the following option to your compile command line :

    C:\strawberry\perl\bin\perl.exe "C:\strawberry\perl\site\bin\pp.bat" +--output="<your_script>.exe" --log="<your_script>.pp.log" --verbose=3 + --cachedeps="<somewhere_tmp>\ppcache" --info FileVersion="0.0.0.0" - +-info ProductVersion="0.0.0.0" --compress 6 --addfile="C:\strawberry\ +perl\site\lib\Mojolicious;Mojolicious" --bundle --save "<you_script>. +pl"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2016-09-28 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (533 votes). Check out past polls.