in reply to Re^2: can't find mistake. lost in references (super global @_ is always in main @main::_ $main::_ )
in thread can't find mistake. lost in references

He'd have the same problem even if @_ wasn't a "super global". The actual problem is that sub calls localize @_ as part of placing the arguments in it.

PS - There can be more than one @_ in every package. It's just that unqualified @_ always refers to @::_. You can access package Foo's @_ using @Foo::_.

  • Comment on Re^3: can't find mistake. lost in references (super global @_ is always in main @main::_ $main::_ )
  • Select or Download Code