What do those print, and why? (Without cheating and running the code! :)
#!/usr/bin/perl $foo = "foo"; print "1: $ $ $ foo\n"; print "2: $ $$ foo\n"; print "3: $ $$foo\n"; print "4: $$$foo\n";
In reply to Re^3: Is space supposed to be ignored between a sigil and its variable name?
by almut
in thread Is space supposed to be ignored between a sigil and its variable name?
by boom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |