Plankton has asked for the wisdom of the Perl Monks concerning the following question:
I must be missing something here ...
... causes error ...die "Not enough disk space.\n" unless check_disk_space;
... but ...Bareword "check_disk_space" not allowed while "strict subs" in use at +./thing line 60. Execution of ./thing aborted due to compilation errors.
... does not.die "Not enough disk space.\n" if check_disk_space;
Why?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unless weirdness
by wfsp (Abbot) on May 08, 2009 at 05:50 UTC | |
by Plankton (Vicar) on May 08, 2009 at 06:02 UTC | |
by CountZero (Bishop) on May 08, 2009 at 06:07 UTC | |
by ikegami (Patriarch) on May 08, 2009 at 06:34 UTC | |
by chromatic (Archbishop) on May 08, 2009 at 08:43 UTC | |
by Plankton (Vicar) on May 08, 2009 at 21:02 UTC | |
by wfsp (Abbot) on May 08, 2009 at 06:13 UTC | |
|
Re: unless weirdness
by JavaFan (Canon) on May 08, 2009 at 07:25 UTC | |
|
Re: unless weirdness
by ikegami (Patriarch) on May 08, 2009 at 06:29 UTC | |
|
Re: unless weirdness
by vinoth.ree (Monsignor) on May 08, 2009 at 06:17 UTC |