in reply to how to make variable forget its previous value?

what variable?

You can use undef

But you should use scoping :)

Read Tutorials: Variable Scoping in Perl: the basics, Coping with Scoping

Read this if you want to cut your development time in half!

  • Comment on Re: how to make variable forget its previous value?