ciwei wrote:
Question from a newbie: how to properly use space
when reference to variables, array, hash etc.
please see the code below:
why the first line, second, and third line all output differiently.
thanks.
ciwei
code below ==
#!/usr/bin/perl
The next two lines should be:
On Jan 11, 2008 3:03 PM, ciwei <[EMAIL PROTECTED]> wrote:
> Question from a newbie: how to properly use space
> when reference to variables, array, hash etc.
Don't put any spaces inside a variable name, especially when interpolating it.
> print "first line : $user => @{$ttys {$user}} \n";
> prin