Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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
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.
Re^3: Limit number of Sub routine argument list
by ysth (Canon) on Oct 25, 2009 at 18:43 UTC

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 examining the Monastery: (5)
As of 2015-07-07 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls