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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1219461]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found