Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2023-12-10 11:00 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (39 votes). Check out past polls.