Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: (Golf) Giving Changeby tadman (Prior) |
on Jun 12, 2001 at 05:04 UTC ( [id://87697]=note: print w/replies, xml ) | Need Help?? |
In the process of your function, you consume the array given
to you. If this were a fixed array provided by reference,
you would trash it, rendering it useless for subsequent
operations. Penalty is 7 characters:
@p=@$p;
Further, I don't know of any currencies which use millionths of
a unit, so why 1e-9 is even relevant is beyond me. Yikes!
In Section
Meditations
|
|