DB<14> @a = (1,2) DB<15> sub code { "@a 1 2" } DB<16> say code() 1 2 1 2 DB<17> @a = (42,666) DB<18> say code() 42 666 1 2 DB<19>
Please use my @a outside debugger demos, to have a proper closure
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
°) oh yes, you keep asking for the same Bash like automatic eval stuff over and over again.
This is best done with functional programming in Perl
In reply to Re: set proto string
by LanX
in thread set proto string
by vincentaxhe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |