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

Re: Backticks and Pattern Matching.

by rgiskard (Hermit)
on Feb 05, 2008 at 15:35 UTC ( #666320=note: print w/ replies, xml ) Need Help??


in reply to Backticks and Pattern Matching.

When you use backticks and you don't chomp the results the returned value will include a newline.

You must account for this in your strict comparison if you're not going to chomp (but please use eq, otherwise you're not comparing you are setting).


Comment on Re: Backticks and Pattern Matching.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-10-01 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (392 votes), past polls