![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: How to restrict partitionsby crunch_this! (Acolyte) |
on Jan 18, 2014 at 03:16 UTC ( [id://1071052]=note: print w/replies, xml ) | Need Help?? |
if (@$p == 2) and ($p->[0] != $p->[1]);
Thx for the quick reply, that definitely did the trick but is there a more general way to do this? I'm just thinking of all the 'ands' I'd have to include. What if I want exactly, say, 5 summands?
In Section
Seekers of Perl Wisdom
|
|