Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: stop a .pl script from launching within a larger script

by CountZero (Bishop)
on Aug 06, 2015 at 15:05 UTC ( [id://1137697]=note: print w/replies, xml ) Need Help??


in reply to stop a .pl script from launching within a larger script

In case you cannot edit the shell script but you have access to the perl script:
  1. rename the perl script
  2. add a new, but empty, perl script with the "old" name.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics
  • Comment on Re: stop a .pl script from launching within a larger script

Replies are listed 'Best First'.
Re^2: stop a .pl script from launching within a larger script
by jambi (Initiate) on Aug 06, 2015 at 16:35 UTC

    So I forget to mention that the original setup script is a fairly large .sh and this gets uncompressed. Is there a way to include the comment from the command line itself eg: #starter.pl /blah1/blah2/blahx.sh Where when blahx.sh executes it fails at a check.pl script. I want it not run that check.pl script Thanks for your help

      Still sounds like →this is the solution. Otherwise, you should tell us why you can't apply it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found