Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by shmem (Chancellor)
on Jun 22, 2007 at 20:52 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://622908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-24 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found