Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

afoken

by afoken (Abbot)
on Feb 28, 2009 at 20:01 UTC ( #747201=user: print w/replies, xml ) Need Help??

About me:

  • I'm a graduate engineer (Dipl.-Inf. (FH)), developing web-based perl applications on Linux and Windows servers since 1999.
  • I wrote the initial Unicode-Patch for DBD::ODBC, which was included in DBD::ODBC 1.14 and improved since then.
  • My current job is to develop high quality software for embedded systems, usually for medical or aviation purposes.

Useful Postings

Broken Code

Opinion

Meditations

"War stories"


Bookmarks

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Corion]: Text::CSV_XS for all your CSV file parsing needs. Other than that, what problems do you have with perlre, and capturing everything after the comma? Also, index and substr would also work.
[choroba]: my ($value) = $string =~ /.*,(.*)/
[choroba]: The .* at the beginning matches the longest possible substring, so it eats any previous commas
[choroba]: But for CSV, use appropriate modules

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2018-05-27 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?