English::Reference - use words to dereference things


NAME

English::Reference - use words to dereference things


SYNOPSIS

  use English::Reference;
  or
  use English::Reference qw(deref);
  ...
  print SCALAR \"Hello World";


DESCRIPTION

Provides the ability to use:

  ARRAY  $arrayref
  CODE   $coderef
  GLOB   $globref
  HASH   $hashref
  SCALAR $scalaref

en lieu of

  @$arrayref
  &$coderef
  *$globref
  %$hashref
  $$scalaref

or

  @{$arrayref}
  &{$coderef}
  *{$globref}
  %{$hashref}
  ${$scalaref}

As an added bonus, there is a function deref; not exported by default; which you can use to dereference a reference of any type.


CAVEATS

You cannot do ARRAY{$arrayref} etc. This is not too bad seeing as the whole point of this module is to reduce the amount of punctuation you use.


AUTHORS

Jerrad Pierce the_lorax@usa.net>, Jeff Pinyan <japhy@pobox.com>, Casey R. Tweten <crt@kiski.net>


SEE ALSO

English(3).