Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Dynamically map the elements of CSV

by chanakya (Friar)
on May 29, 2006 at 14:24 UTC ( [id://552313]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        my    ($country, $exchange, $name, $forex, $ric, $isin, $cusip) = 
    +split(/\;/ $line);
    #similarly 100 vars are declared
    }
    
  2. or download this
    ##CSV file format
    Country;Exchange;NAME;Forex;RIC;ISIN;CUSIP;
    AT;XETRA (AT)     ;RAIFFEISEN INTERNATIONAL BANK ;EUR;RIBH.VI         
    +;AT0000606306;       ;B0704T9;
    AT;XETRA (AT)     ;IMMOEAST IMMOBILIEN ANLAGEN AG;USD;IMEA.VI         
    +;AT0000642806;       ;
    
  3. or download this
    
    $Country = "AT";
    $Exchange ="Xetra (AT)";
    $NAME = "RAIFFEISEN INTERNATIONAL BANK ";
    #etc..
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://552313]
Approved by Zaxo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found