Perl: Passing parameters in hashes - TechRepublic
General discussion
June 23, 2003 at 12:38 AM
maryweilage

Perl: Passing parameters in hashes

by maryweilage . Updated 22 years, 12 months ago

The 6/24 Perl e-newsletter explained why, if your subroutine has a number of optional parameters, you should consider passing those parameters as key-value pairs in a hash. Do you pass parameters to routines using hashes? If not, do you think you might after reading the tip?

If you aren’t already subscribed to the Perl e-newsletter, visit our e-newsletter subcenter to sign up for this free TechMail today:
http://builder.com.com/techmails.jhtml?repID=u001

This discussion is locked

All Comments