because my declares a new variable distinct to the one you are w(atching).
The original $pre doesn't change, hence no break.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Interactive w debug command cannot work in a sub
by LanX
in thread Interactive w debug command cannot work in a sub
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |