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.