in reply to Assign multiple scalars the same value

Hi, Just try this it's easy method

$a = $b = $c = "True"; print "\n$a$b$c";

Regards,
Gubendran.L

Replies are listed 'Best First'.
Re^2: Assign multiple scalars the same value
by gaal (Parson) on Jan 25, 2005 at 08:17 UTC
    The OP wanted to declare the three variables my.