in reply to How to exit a perl script without looking anything after it

What do you mean by 'looks at'?

Are you trying to prevent some code from being compiled? In that case you can't do it using exit as Perl compiles the whole file before executing it.

Perhaps you could comment out the code that you don't want compiled? Using =pod ... =cut is a good way to comment out large chunks of code.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

  • Comment on Re: How to exit a perl script without looking anything after it