Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: RFC: Perl regex to validate arithmetic expressions

by spx2 (Deacon)
on Mar 15, 2011 at 16:43 UTC ( #893376=note: print w/replies, xml ) Need Help??

in reply to RFC: Perl regex to validate arithmetic expressions

there's also the option of using Parse::Yapp and validating arithmetic expressions. In general when "discovering" Perl regexes you think they are so powerful that you can use them for a lot of stuff, but if all you have is a hammer, everything looks like a nail.
  • Comment on Re: RFC: Perl regex to validate arithmetic expressions

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://893376]
[ovedpo15]: can't I use just use lib $FindBin::Bin/../ bin" asuming that p2 is in ./bin and p1 is in /config? it says "cant find" altought p2 is
[moritz]: ovedpo15 "use lib" is only for .pm files
[moritz]: if you don't have .pm file, you might to use "require" or "do" with an absolute path
[ovedpo15]: I need to use FindBin thought. does FindBin finds only modules? or it can find perl script also?
[moritz]: maybe you should start looking at the documentation of FindBin?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2018-03-17 20:47 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (226 votes). Check out past polls.