Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Running a packaged script using MozRepl

by marto (Cardinal)
on Jul 19, 2017 at 09:14 UTC ( [id://1195420]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Running a packaged script using MozRepl
in thread Running a packaged script using MozRepl

"which works as a script, but that I couldn't pack. Always hitting the error"

Can you show your pp line for the failed package?

  • Comment on Re^3: Running a packaged script using MozRepl

Replies are listed 'Best First'.
Re^4: Running a packaged script using MozRepl
by frazap (Monk) on Jul 19, 2017 at 09:41 UTC
    pp @ppopts_chrome.txt -x -o cotes.exe cotes.pl reroid1.txt cotes.txt
    With a horribly long ppots_chrome.txt file

    Update: the long file resulted from my misaplication of your suggestion: if I gave default values for my args, to allow the script to run without problems with -x, I could diff the log file and the resulting modules (much shorter) list gave an exe that works

    -M AE.pm -M AnyEvent.pm -M AnyEvent/DNS.pm -M AnyEvent/Future.pm -M AnyEvent/Handle.pm -M AnyEvent/Impl/Perl.pm -M AnyEvent/Loop.pm -M AnyEvent/Socket.pm -M AnyEvent/Util.pm -M AnyEvent/WebSocket/Client.pm -M AnyEvent/WebSocket/Connection.pm -M AnyEvent/WebSocket/Message.pm -M AnyEvent/constants.pl -M Chrome/DevToolsProtocol/Transport/AnyEvent.pm -M Class/XSAccessor.pm -M Class/XSAccessor/Heavy.pm -M Digest/SHA.pm -M Future/HTTP/Tiny.pm -M HTTP/Tiny.pm -M PerlX/Maybe.pm -M Protocol/WebSocket/Cookie.pm -M Protocol/WebSocket/Cookie/Request.pm -M Protocol/WebSocket/Cookie/Response.pm -M Protocol/WebSocket/Frame.pm -M Protocol/WebSocket/Handshake.pm -M Protocol/WebSocket/Handshake/Client.pm -M Protocol/WebSocket/Message.pm -M Protocol/WebSocket/Request.pm -M Protocol/WebSocket/Response.pm -M Protocol/WebSocket/Stateful.pm -M Protocol/WebSocket/URL.pm -M Sub/Util.pm -M WWW/Mechanize/Chrome.pm

      For clarity, after your 'update' do you have a working exe?

        Sorry: yes I do !

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-04-25 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found