in reply to Re: Avoiding INIT
in thread Avoiding INIT
The module Getopt::Auto provides "magic" processing of command-line options. It uses processing in the INIT block to look at the command line before the body of the user's script is executed.
Thus, the INIT block is part of the user's code for execution purposes, but from the user's point of view, it isn't.
I'm just looking for a way of having the user not see the code. Sort of the opposite of $DB::single = 2.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Avoiding INIT
by ikegami (Patriarch) on Feb 09, 2010 at 17:09 UTC | |
by geoffleach (Scribe) on Feb 09, 2010 at 19:03 UTC | |
by ikegami (Patriarch) on Feb 09, 2010 at 21:02 UTC | |
by geoffleach (Scribe) on Feb 13, 2010 at 19:04 UTC | |
by ikegami (Patriarch) on Feb 14, 2010 at 01:17 UTC | |
| |
|
Re^3: Avoiding INIT
by Corion (Patriarch) on Feb 09, 2010 at 16:25 UTC | |
by geoffleach (Scribe) on Feb 09, 2010 at 18:56 UTC | |
by ikegami (Patriarch) on Feb 09, 2010 at 20:14 UTC |