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

NAME

Cache::Bind - Bind unindexed local COS variables to %C

SYNOPSIS

  use Cache::Bind;
  $C{a} = 1;      # s a=1
  delete $C{a};   # k a
  print $C{a};    # fetches value of "a"

DESCRIPTION

 Cache::Bind just binds all unindexed local variables
 to the Perl-Hash %C.

 This is the easy way to set/get local COS variables
 if you need to do so.

EXPORTS

%C
 The hash. :)

SEE ALSO

Cache, Cache::ObjectScript, Cache::Global, Cache::Routine, Cache::Util.

AUTHOR

 Stefan Traby <stefan@hello-penguin.com>
 http://hello-penguin.com