Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Limit number of Sub routine argument list

by ganeshwari (Sexton)
on Oct 25, 2009 at 15:26 UTC ( #803156=note: print w/ replies, xml ) Need Help??


in reply to Re: Limit number of Sub routine argument list
in thread Limit number of Sub routine argument list

thanks for your replies. I need to handle this in compile time only. But as Alexander told we can bypass this by calling the subroutine as &subroutine(..). Is there way to handle this ?
  • Comment on Re^2: Limit number of Sub routine argument list

Replies are listed 'Best First'.
Re^3: Limit number of Sub routine argument list
by ysth (Canon) on Oct 25, 2009 at 18:43 UTC
Re^3: Limit number of Sub routine argument list
by JavaFan (Canon) on Oct 25, 2009 at 16:32 UTC
    But as Alexander told we can bypass this by calling the subroutine as &subroutine(..). Is there way to handle this ?
    Not on the level of Perl itself. You may be able to do something by inspecting the op-tree. Perhaps perlcritic can help you as well, but that requires a separate stage.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-06-26 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.