Martin 'Kingpin' Thurn > WWW-Ebay-1.003 > WWW::Ebay::Customer

Download:
WWW-Ebay-1.003.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.016   Source  

COPYRIGHT ^

                Copyright (C) 2001 Martin Thurn
                         All Rights Reserved

NAME ^

WWW::Ebay::Customer - information about an auction customer

SYNOPSIS ^

  use WWW::Ebay::Customer;
  my $oCustomer = new WWW::Ebay::Customer;

DESCRIPTION ^

An object that encapsulates information about an auction customer.

OPTIONS ^

Object (hash) values and editor (GUI) widgets correspond to pieces of information needed to identify a buyer or seller of a (successful) auction.

METHODS ^

new

Create a new object of this type.

editor

Creates a Tk widget for editing a customer's information. Takes one argument, an existing Tk widget into which the editor widget will be packed. Should be a Frame or MainWindow or similar.

editor_paste

Takes one argument, a string. Tries to interpret the argument as a name and/or address as follows: If the string contains three or more lines, put the first line into the name and the remaining lines into the address. If the string contains two lines, put the two lines into the address. Otherwise, do nothing.

editor_finish

You should call this method after editing is finished, before destroying the Tk widget.

clone

Make a new Ebay::Customer object identical to ourself, and return it.

copy_to

Given another Ebay::Customer object, copy our values into him.

AUTHOR ^

Martin 'Kingpin' Thurn, mthurn at cpan.org, http://tinyurl.com/nn67z.

syntax highlighting: