Withigo has asked for the wisdom of the Perl Monks concerning the following question:
use constant Some::Module::TRUE => 1 == 1; use constant Some::Module::FALSE => 1 == 0; sub foo { return; } sub bar { return Some::Module::FALSE; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Not returning scalars(SV) to optimize and save memory?
by ikegami (Patriarch) on Dec 06, 2007 at 20:19 UTC | |
|
Re: Not returning scalars(SV) to optimize and save memory?
by perrin (Chancellor) on Dec 06, 2007 at 23:48 UTC | |
|
Re: Not returning scalars(SV) to optimize and save memory?
by gamache (Friar) on Dec 06, 2007 at 20:16 UTC | |
by tye (Sage) on Dec 06, 2007 at 20:25 UTC | |
by gamache (Friar) on Dec 06, 2007 at 20:30 UTC | |
by ikegami (Patriarch) on Dec 06, 2007 at 20:30 UTC | |
|
Re: Not returning scalars(SV) to optimize and save memory?
by RaduH (Scribe) on Dec 06, 2007 at 20:19 UTC |