in reply to Re: Is space supposed to be ignored between a sigil and its variable name?
in thread Is space supposed to be ignored between a sigil and its variable name?
Sure it's confusing. Without running the code, tell me what $i and $j are.
my $x = ['a', 'b', 'c', 'd', 'e']; my $i = $ x -> [ 4 ]; my $j = "$ x -> [ 4 ]"; print "$i\n"; print "$j\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is space supposed to be ignored between a sigil and its variable name?
by Anonymous Monk on Apr 18, 2009 at 17:08 UTC |