Thank you for the prompt replies.
On 9/30/03 5:18 PM, "Andy Lester" <[EMAIL PROTECTED]> wrote:
> Rather than thinking of it in terms of what the function should
> return, think of it as what you're expecting. For example, you might:
>
> my @vars =
On Tue, Sep 30, 2003 at 04:56:30PM -0500, Eric Lease Morgan wrote:
> is(ref($librarian->term_ids), 'ARRAY', 'set term_ids()');
Try Test::More's isa_ok(). It works on objects *and* references.
isa_ok( $librarian->term_ids, 'ARRAY', 'set term_ids()' );
Eric++ for taking the time to do tests!
At 4:56 PM -0500 9/30/03, Eric Lease Morgan wrote:
How do I test for an array?
I have written a module that gets and sets characteristics of an object, and
I am using another module called Test::More to test my module. Two of my
methods return arrays. One is a simple array of integers. The other i
At 5:09 PM -0500 9/30/03, Eric Lease Morgan wrote:
How do I create a standard Perl module intended for distribution?
Steal. Find a good distribution (say, MARC::Record) and adapt from there.
I never use h2xs any more.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
How do I create a standard Perl module intended for distribution?
As I've said before, I am rewriting MyLibrary in an object-oriented manner.
In this new incarnation there will many smaller packages as opposed to one
huge one.
Since I want to create this module in the most Perl-standard fashion,
How do I test for an array?
I have written a module that gets and sets characteristics of an object, and
I am using another module called Test::More to test my module. Two of my
methods return arrays. One is a simple array of integers. The other is an
array of objects.
Using methods/functions fr
Hi Joshua,
> The Z-Server can be reached at: koha.athenscounty.lib.oh.us: (no
> database name necessary).
I checked the server with our VTLS Z39.50 client (www.vtls.com) and it
seems to be working fine.
Thanks.
Saiful
Indian School of Business
Hyderabad. India
Ph. +91-40-2318-7963/7999