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

Re: Splitting on + after using Text::Diff

by deibyz (Hermit)
on Apr 04, 2008 at 10:57 UTC ( #678353=note: print w/ replies, xml ) Need Help??


in reply to Splitting on + after using Text::Diff

The first param to split is a regexp, so you have to scape the + so it doesn't act as a quantifier:

my $unequal = split(/\+/, $diff);


Comment on Re: Splitting on + after using Text::Diff
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2013-05-24 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (505 votes), past polls