in reply to Re: Simple Subroutine Question
in thread Simple Subroutine Question

If choosing between the two, what do the PerlMonks suggest is a better way of doing this? I'd like it to be EASY to write and EASY to read... So, I was thinking the user=> would be good, but there are MANY functions in this bad boy and not sure if I should have them all use that method...

An example of a lot of arguments is below:
foo->adduser(id=>$id, uid=>$uid, prgrp=>$pgrp, sgrps=>$sgrps, gcos=>$gcos, expire=>$expire)... I mean, is that ridiculous??

Replies are listed 'Best First'.
Re^3: Simple Subroutine Question
by tilly (Archbishop) on Aug 01, 2009 at 01:13 UTC