in reply to Re^2: declaring variable
in thread declaring variable

or

$pass = 'blue'; $pass = '5'.(' ' x length($pass)).'5' | ' '.$pass.' '

Replies are listed 'Best First'.
Re^4: declaring variable
by sh1tn (Priest) on Feb 14, 2005 at 21:25 UTC
    or

    $pass = 'blue'; $pass =~ s/.{4}/($i=1+length($pass)).$pass.$i/e;