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

Re^3: Perl script for the post processing of one CSV file

by kshitij (Sexton)
on Oct 03, 2019 at 07:59 UTC ( #11106994=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl script for the post processing of one CSV file
in thread Perl script for the post processing of one CSV file

Hi Superdoc ,

I cant use these subroutines "bom" and "kh" since I am using older version of perl. Can you help me out with the code without using these subroutines ?

Thanks Kshitij

  • Comment on Re^3: Perl script for the post processing of one CSV file

Replies are listed 'Best First'.
Re^4: Perl script for the post processing of one CSV file
by rjt (Curate) on Oct 03, 2019 at 08:07 UTC

    Those are arguments, not subroutines, and they are part of Text::CSV, not Perl itself. What version of Perl are you using (perl -v from a prompt), and what version of Text::CSV do you have installed? Find that out with perl -MText::CSV -e 'print Text::CSV->VERSION' again from a prompt. The latest is 2.00, released in May of this year.

    You can upgrade your version of Text::CSV using CPAN (and install Text::CSV_XS while you're at it!), and you will be able to use these attributes. Using CPAN

        Text::CSV 1.32 dates back to 2013. The current version is 2.00. I again suggest you upgrade Text::CSV. You can look at the link I sent you earlier if you are unsure how to use CPAN.

Re^4: Perl script for the post processing of one CSV file
by hippo (Bishop) on Oct 03, 2019 at 08:12 UTC
    since I am using older version of perl

    I have some great news for you. You can upgrade individual modules without upgrading the entire perl installation. However, if your perl is so old (which version?) why not take this opportunity to upgrade the entire system anyway?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2023-06-03 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (12 votes). Check out past polls.

    Notices?