in reply to Begining Monk seeks Wisdom.......

To clear out a variable so that its previous value doesn't linger in RAM: $var= "\0" x length($var); where you can use any character you like. There still might be copies elsewhere depending on what operations you did on the password (such as in the IO buffer if you read the password in).

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re (tilly) 2: Begining Monk seeks Wisdom.......
by tilly (Archbishop) on May 05, 2001 at 00:58 UTC
    If you are using Unicode you will want to follow that with:
    $var .= $var;