Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: list separation

by cheekuperl (Monk)
on Aug 25, 2012 at 03:03 UTC ( #989682=note: print w/ replies, xml ) Need Help??


in reply to list separation

Can you do that using simple if-else?

if($aandeel=~m/gold/) { #push in goldlist } elsif($aandeel=~m/copper/) { #push in copperlist }
I have assumed $aandeel contains the gold quote/copper quote entity. </code>


Comment on Re: list separation
Download Code
Re^2: list separation
by robertw (Sexton) on Aug 26, 2012 at 21:34 UTC
    I would have to do with 60 commodities unfortunately, I really have trouble understanding how to do this. Do you know another way? or explain how it works? I am really not experienced in this...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989682]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2014-07-22 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (124 votes), past polls