Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Regexp mystery (to me)

by ysth (Canon)
on Mar 03, 2008 at 21:34 UTC ( #671724=note: print w/replies, xml ) Need Help??


in reply to Re: Regexp mystery (to me)
in thread Regexp mystery (to me)

You shouldn't use & when calling subroutines, see perlsub for reasons why.
A quick read of perlsub doesn't show what you might mean, and IMO there is no problem with consistently using & and parentheses.

Replies are listed 'Best First'.
Re^3: Regexp mystery (to me)
by jwkrahn (Monsignor) on Mar 03, 2008 at 23:27 UTC
    With parentheses it's fine, as long as you're not using prototypes. Without the parentheses it could cause a problem.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-05-29 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?