The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Syntax-Keyword-Val VAL"

Syntax::Keyword::Val - Provides a readonly variant of 'my' called 'val' River stage zero No dependents

Simply use this module, then place the "val" keyword where you'd normally use "my" for a read-only variant. use Syntax::Keyword::Val; val $foo = "bar"; $foo = 123; # ERROR val $foo = {a => 123, b => 456}; $foo->{a} = 666; # ERROR $foo->{xyz} = "xyzzy...

SPROINGIE/Syntax-Keyword-Val-0.002 - 31 Jul 2013 18:52:16 UTC
1 result (0.028 seconds)