Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: regex and string functions help needed.

by Corion (Patriarch)
on Oct 25, 2006 at 12:13 UTC ( [id://580558]=note: print w/replies, xml ) Need Help??


in reply to regex and string functions help needed.

That is because my code doesn't do what you want.

I stated the equation that my code calculates and you said that the calculation wasn't what you want. So it's not really a surprise that my code gives results that are different from what you want. Maybe you should restate what you want, and also what my code does, so somebody willing to hold your hand can then change my code for you to solve your homework.

  • Comment on Re: regex and string functions help needed.

Replies are listed 'Best First'.
Re^2: regex and string functions help needed.
by valavanp (Curate) on Oct 25, 2006 at 12:32 UTC
    Corion, i used your code because i couldn't understand the replies given my holli and swamy_rio. I am able to understand your code better than mine and others. That's why i posted that. Since you advised me not to use if else constructs in my code, i didn't use that. The only solution i got is from your reply. So please forgive me if anything wrong done to you. Thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found