Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: PAR pp error when executing created file

by g_speran (Scribe)
on Mar 02, 2021 at 14:09 UTC ( [id://11129014]=note: print w/replies, xml ) Need Help??


in reply to PAR pp error when executing created file

Sorry All! I thought I actually posted this last night. seems that I constructed to post it, but only reviewed my posting and never actually post it

I have rectified my situation. It was actually a coding issue with my script, not main.pl. I neglected to have a variable $MODFILE defined and it looked like that main.pl was erroring out.

for education and documentation purposes, I am attaching the code that was causing the failure and I added more verbiage to the error.

sub Extract_Template { if ($ScriptName =~ /\.exe$/i) { my $zip = Archive::Zip->new(); my $status = $zip->read( $ScriptName ); die "Read of $ScriptName failed\n" if $status != AZ_OK; $status = $zip->extractMemberWithoutPaths($MODFILE); die "Extraction of Template File \"$MODFILE\" within $ScriptNa +me failed\n EXITING\n" if $status != AZ_OK; } }

Again...my apologies

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found