Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Is this normal

by roboticus (Canon)
on Jan 06, 2012 at 14:55 UTC ( #946609=note: print w/ replies, xml ) Need Help??


in reply to Is this normal

himik:

I'm guessing that it's because you're calling the m operator in list context rather than scalar context. Perhaps it would work if you try:

TestIt($a1, $a2, scalar($a3=~m/2/), $a4);

...roboticus

When your only tool is a hammer, all problems look like your thumb.


Comment on Re: Is this normal
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-09-01 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (299 votes), past polls