Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Trouble splitting pipe delimited

by Tanktalus (Canon)
on Nov 05, 2012 at 04:40 UTC ( #1002272=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Text::CSV_XS;
    use feature 'say';
    use warnings;
    ...
    
        say "$s\n  @e\n  @o\n";
    }
    
  2. or download this
    $ perl5.16.2 x.pl
    1|str|foo\|bar|goo|2323
      1 str foo|bar goo 2323
    ...
    foo\\|bar
      foo\ bar
      foo\ bar
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (14)
As of 2015-07-02 19:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls