if (...) { # you declare a variable here my $copy; ... # use it here } # and use it here - WRONG
You can't use the variable outside the block you declare it in. So move the declaration outside of the block.
In reply to Re: Find and Replace
by moritz
in thread Find and Replace
by PyrexKidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |