in reply to Invoking API
Double quotes interpolate; single quotes do not.
sub say { print @_, "\n" }; my $foo = "Hello"; say "$foo World"; say '$foo World';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Invoking API
by mcoblentz (Scribe) on Jul 05, 2013 at 03:24 UTC | |
|
Re^2: Invoking API
by mcoblentz (Scribe) on Jul 05, 2013 at 05:47 UTC | |
by soonix (Chancellor) on Jul 05, 2013 at 07:34 UTC | |
by mcoblentz (Scribe) on Jul 05, 2013 at 21:24 UTC |