in reply to list separation
Can you do that using simple if-else?
I have assumed $aandeel contains the gold quote/copper quote entity. </code>if($aandeel=~m/gold/) { #push in goldlist } elsif($aandeel=~m/copper/) { #push in copperlist }
In Section
Seekers of Perl Wisdom