Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Returning undef: The point I would like Damian to reconsider

by shmem (Chancellor)
on Jun 22, 2007 at 20:52 UTC ( #622908=note: print w/replies, xml ) Need Help??


in reply to Re^2: Returning undef: The point I would like Damian to reconsider
in thread Returning undef: The point I would like Damian to reconsider

1. explicit clarity of intent

I have that on the LHS.

2. 3 parameterizable output methods
3. 3 methods which can be re-used or overloaded as needed
4. The ability to call all 3 output methods, none or any combination simply by mixing/matching method calls.

No call for those, since that doesn't gain me anything.

You missed my point. Context awareness is a key concept of Perl. Deprecating context awareness with regard to subroutine return is tantamount to crippling the language.

Try Date::localtime

No such module... ;-)

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re^3: Returning undef: The point I would like Damian to reconsider

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://622908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2020-07-14 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?