Michael G Schwern wrote:
tie() always returns an object.
The object returned by the new method is also
returned by the tie function, which would be useful if you
want to access other methods in CLASSNAME.
Your insight's and Kevin's were incorporated
How do you test that a variable has been tied to a class?
I looked through Test::More; the term 'tie' is conspicuous by its
absence. I also searched the archives of this list and couldn't locate
anything.
I'm looking for something along the lines of Test::More::isa_ok that we
could use like
James E Keenan wrote:
How do you test that a variable has been tied to a class?
I looked through Test::More; the term 'tie' is conspicuous by its
absence. I also searched the archives of this list and couldn't locate
anything.
I'm looking for something along the lines of Test::More::isa_ok
On Tue, Apr 12, 2005 at 06:58:34PM -0400, James E Keenan wrote:
How do you test that a variable has been tied to a class?
$ perldoc -f tied
tied VARIABLE
Returns a reference to the object underlying VARIABLE (the same
value that was originally returned by the
On Apr 12, 2005, at 3:58 PM, James E Keenan wrote:
How do you test that a variable has been tied to a class?
I looked through Test::More; the term 'tie' is conspicuous by its
absence. I also searched the archives of this list and couldn't
locate anything.
I'm looking for something along the