develooper Front page | perl.perl5.porters | Postings from May 2000

Re: overloading = [a solution]

From:
Ilya Zakharevich
Date:
May 7, 2000 12:54
Subject:
Re: overloading = [a solution]
Message ID:
200005071953.PAA08174@monk.mps.ohio-state.edu
Sam Tregar writes:
> So, in response: no, neither Tk nor *DB*_File supports users that don't
> want to know about the *API*.

Applicable to Tk, but not to DB_File.  There *is* a DB_File API, but
you do not need to know it: all you do is tie()ing.  [Unless you
consider tie %foo, 'DB_File' to be an API - in some sense it is, in
some sense it is not.]

Similarly,

  use Math::BigInt ':constant';

would allow you use Math::BigInt without any (further) knowledge of
the API.  "Similarly" just installing Term::ReadLine::Perl would make
your scripts more user-friendly, this time without *ANY* knowledge of
the API.

Ilya



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About