in reply to Re: Aren't there code refs as well as function refs?
in thread Aren't there code refs as well as function refs?
You missed some uses for curlies!
Delimiters for quote-like operators:
my $string = join q{ }, q(Hello), q/world/;
Hash keys:
my %hash; $hash{foo} = 42; @hash{ 'bar', 'baz' } = ( 666, 999 );
Unicode:
say "\N{DROMEDARY CAMEL}"; say "\x{1F42A}";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Aren't there code refs as well as function refs?
by LanX (Saint) on Mar 05, 2023 at 14:34 UTC | |
by tobyink (Canon) on Mar 05, 2023 at 15:03 UTC | |
by LanX (Saint) on Mar 05, 2023 at 17:41 UTC |