in reply to Re^4: RFC: Integer::Partition::Unrestricted
in thread RFC: Integer::Partition::Unrestricted
What happens when you want to use the real pos()? I'm not worried about the methods. I'm talking about using the builtins, which you don't call as methods. :)
Update: You have to be able to explain to everyone else who looks at your code why Perl ignores the subroutine you defined, which one you really wanted, and all sorts of other things. pos() may not be the best example though.
#!/usr/bin/perl use warnings; sub shift { } my @array = qw( 1 2 3 ); shift @array;
In general, don't purposedly cause ambiguity.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: RFC: Integer::Partition::Unrestricted
by adrianh (Chancellor) on Feb 28, 2006 at 17:47 UTC | |
by Aristotle (Chancellor) on Mar 01, 2006 at 15:19 UTC | |
by adrianh (Chancellor) on Mar 02, 2006 at 16:31 UTC |