Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: difference between two lines

by vinoth.ree (Monsignor)
on Jul 30, 2018 at 09:13 UTC ( #1219461=note: print w/replies, xml ) Need Help??


in reply to Re: difference between two lines
in thread difference between two lines

Hi Corion

I tried the first option(remove all spaces from both lines and compare). I thought there could be best way, that's why posted this question.


All is well. I learn by answering your questions...

Replies are listed 'Best First'.
Re^3: difference between two lines
by Eily (Monsignor) on Jul 30, 2018 at 09:48 UTC

    So the first option worked? If so, there's no need for a "best way". If your code has some issues you'll have to be more specific, rather than hope someone provides a solution actually fits your needs without knowing them. Or if you want advice about your code, you'll have to post it.

    Edited: in hindsight my previous formulation sounded harsher than intended.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-06-02 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (12 votes). Check out past polls.

    Notices?