On Thu, Apr 19, 2001 at 10:51:26AM -0400, Nutter, Mark wrote:
: > can someone pl tell me what is the best ans to the interview question
: > 
: > "what is tie ?"


The following is a pretty good answer, however, this quetion is
similar to 'please, do my homework.'  I am making a strict policy of
not doing homework on this list, helping with interviews is similar
enough.  As an employer, I would expect an honest answer from
candidates.

One way to answer this question in a way that isn't cheating might be
'perldoc perltie.'

: In 25 words or less, "Tie lets you attach custom functionality to a scalar,
: hash, or array."  Common uses of tie include mapping a hash or an array to a
: database table so that you can create/search/update/delete records using
: simple Perl notation for hashes/arrays.  It can also be used for things like
: creating a scalar that returns a timestamp, or a constant, or a
: randomly-generated quote, or whatever.

-- 
Casey West

Reply via email to