Skip to content

Instantly share code, notes, and snippets.

@anazawa
Created May 25, 2012 23:53
Show Gist options
  • Select an option

  • Save anazawa/2791286 to your computer and use it in GitHub Desktop.

Select an option

Save anazawa/2791286 to your computer and use it in GitHub Desktop.
tie() interface
tie my %header => 'Blosxom::Header', # isa
as => 'ro', # or 'rw'
to => $blosxom::header; # HashRef
tie my %header => 'Blosxom::Header', (
as => 'ro',
to => $blosxom::header
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment