in reply to Hope a subroutine will return undef by default
With sub rewriting, via attributes at least, you could arrange the sub to return undef: http://perltv.org/v/code-attributes presentation about code attributes by Steve B (video; via https://twitter.com/PerlWeekly). (Blame PerlMonks for links being just dead text.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hope a subroutine will return undef by default
by hdb (Monsignor) on Feb 11, 2014 at 16:39 UTC | |
by Anonymous Monk on Feb 11, 2014 at 16:41 UTC | |
|
Re^2: Hope a subroutine will return undef by default
by qj1020 (Initiate) on Feb 11, 2014 at 17:23 UTC |