14 years agoonly pass initializers for array and hash
Jesse Luehrs [Wed, 12 May 2010 05:35:25 +0000]
only pass initializers for array and hash

14 years agoun-TODO
Jesse Luehrs [Wed, 12 May 2010 05:25:25 +0000]
un-TODO

14 years agoalways save and restore scalars, since has_package_symbol isn't reliable
Jesse Luehrs [Wed, 12 May 2010 05:23:13 +0000]
always save and restore scalars, since has_package_symbol isn't reliable

it returns false even if a scalar has been declared but not initialized
yet, which is inconsistent with how has_package_symbol works for all
other types, but I think it's unavoidable

14 years agoadd TODO test
Jesse Luehrs [Wed, 12 May 2010 04:40:09 +0000]
add TODO test

14 years agotests for nonexistent hash/array entries
Jesse Luehrs [Wed, 12 May 2010 03:44:10 +0000]
tests for nonexistent hash/array entries

14 years agoerror when trying to init a stash slot with a value of the wrong type
Jesse Luehrs [Wed, 12 May 2010 03:11:15 +0000]
error when trying to init a stash slot with a value of the wrong type

14 years agomore support for IO slots
Jesse Luehrs [Wed, 12 May 2010 03:02:16 +0000]
more support for IO slots

14 years agoinitialize the ARRAY and HASH slots on get
Jesse Luehrs [Wed, 12 May 2010 00:11:09 +0000]
initialize the ARRAY and HASH slots on get

otherwise you have to explicitly initialize a package global array or
hash with some value if you want to get a reference to its contents, if
it's empty on first access

14 years agohandle IO slots
Jesse Luehrs [Tue, 11 May 2010 07:12:44 +0000]
handle IO slots

14 years agosynopsis test
Jesse Luehrs [Tue, 11 May 2010 06:45:28 +0000]
synopsis test

14 years agodocs
Jesse Luehrs [Tue, 11 May 2010 06:45:19 +0000]
docs

14 years agoinitial import of code from Class::MOP::Package
Jesse Luehrs [Tue, 11 May 2010 03:01:03 +0000]
initial import of code from Class::MOP::Package

14 years agoinitial commit
Jesse Luehrs [Tue, 11 May 2010 02:31:52 +0000]
initial commit