Now is the moment you want to read about "closures" in Perl. That is why I told you about "mentioning" $w in the subroutine or making $w a global variable.
In reply to Re^7: PSGI, Plack, Twiggy, AnyEvent and SockJS... I need help
by Corion
in thread PSGI, Plack, Twiggy, AnyEvent and SockJS... I need help
by xtpu2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |