Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Advantages to passing a hash to a subroutine?

by alliswell (Novice)
on Jun 22, 2012 at 15:00 UTC ( #977856=note: print w/replies, xml ) Need Help??


in reply to Re: Advantages to passing a hash to a subroutine?
in thread Advantages to passing a hash to a subroutine?

Yes, thanks for pointing out the free PDF. Perfect!

In Perl Best Practices, they state using "Named arguments replace the need to remember any ordering..Especially if you have, or are likely to have more than three arguments."

  • Comment on Re^2: Advantages to passing a hash to a subroutine?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977856]
help
Chatterbox?
[Lady_Aleena]: Having to rewrite some parts of my site for mobile devices is such a pain in the butt.
[shmem]: Lady_Aleena: what editor are you using, on what platform?
[Lady_Aleena]: shmem, geany on Debian jessie.
[shmem]: some experience with vim?
[Lady_Aleena]: None
[shmem]: I don't know geany, and don't know whether it has support for ctags.
[Lady_Aleena]: ctags?
[shmem]: ctags is a program which (recursively) extracts the symbols from source and stores them in a one-file database. This allows you to query the locations where these symbols (e.g. a subroutine name) are used anywhere in the source code tree...
[shmem]: ...from inside the editor.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2017-04-27 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (505 votes). Check out past polls.