Auction::Bid - Information on an auction bid
my $a_bid = Auction::Bid->new($bidid); my $bidid = $a_bid->bid_id; my $id = $a_bid->id; my $customerid = $a_bid->customerid; my $item = $a_bid->item; my $bid = $a_bid->bid; my $date = $a_bid->date; my $time = $a_bid->time; my @bids = Auction::Bid->for_item($a_item); my $a_bid = Auction::Bid->make_bid({ item => $a_item, customerid => $customerid, bid => $bid, });
This module provides information on an auction bid.
YOU HAVE TO GET YOURSELF A DATABASE HANDLE!! I don't know how you connect to your database, so I leave that for an exercise for the reader.
my $a_bid = Auction::Bid->new($bidid);
Make a new auction bid object.
my @bids = Auction::Bid->for_item($a_item);
This will return a list of Bid objects for the auction item.
my $a_bid = Auction::Bid->make_bid({ item => $a_item, customerid => $customerid, bid => $bid, });
This will make a bid on the auction item.
my $bidid = $a_bid->bid_id;
This will return the bid id.
my $id = $a_bid->id;
This is synonomous with bid_id.
my $customer = $a_bid->customer;
This will return the customerid of who made the bid.
my $item = $a_bid->item;
This will return the auction item.
my $bid = $a_bid->bid;
This will return the bid for that bid id.
my $date = $a_bid->date;
This will return the Date::Simple of the bid
NOTE: This does not include the time of the bid.
my $time = $a_bid->time;
This will return the time of the bid on the day it was made.
None known
Nothing known
Copyright (C) 2001 mwk. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
MWKerr, <coder@stray-toaster.co.uk>
To install Auction::Bid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Auction::Bid
CPAN shell
perl -MCPAN -e shell install Auction::Bid
For more information on module installation, please visit the detailed CPAN module installation guide.