in reply to set proto string

I think we had this discussion already...°

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

Update

°) 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

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.