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

Re^3: string diff and compare

by Anonymous Monk
on May 04, 2012 at 15:54 UTC ( #968947=note: print w/ replies, xml ) Need Help??


in reply to Re^2: string diff and compare
in thread string diff and compare

From perlod ...

reverse LIST
In list context, returns a list value consisting of the elements of LIST in the opposite order. In scalar context, concatenates the elements of LIST and returns a string value with all characters in the opposite order.
...

And, read map chain as: map { scalar( reverse $_ ) } ( $old , $new ).


Comment on Re^3: string diff and compare
Download Code
Replies are listed 'Best First'.
Re^4: string diff and compare
by Anonymous Monk on May 04, 2012 at 16:13 UTC
    "perlod"? Ha! :-) sounds like "perllord" was misspelled.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2015-07-31 13:05 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 (277 votes), past polls