|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^2: short sortsby Lady_Aleena (Chaplain) |
| on Mar 30, 2012 at 17:23 UTC ( #962656=note: print w/ replies, xml ) | Need Help?? |
|
Thank you for pointing that out to me. I changed the last lines of the subroutine to include tobyink's suggestion of croak above in Re: short sorts. So now I have a more explicit conditional just to keep things tidy. Thanks! :)
Update Since the random sort is not acting as I expected, I decided to just let the subroutine die there.
Have a cookie and a very nice day!
Lady Aleena
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||