Drop the "my". The @foo you created and assigned to was local (erm ... lexical) to that one line! There is no way I know of to keep the lexical variables in scope for several separate REPL iterations.
In reply to Re^3: RFC: IPerl - Interactive Perl ( read-eval-print loop )
by Jenda
in thread RFC: IPerl - Interactive Perl ( read-eval-print loop )
by mseabrook
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |