Main > Free Download Search >

Free upc software for linux

upc

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 14
GCC UPC 4.0.3.3

GCC UPC 4.0.3.3


GCC UPC toolset provides a compilation and execution environment for programs written in the UPC (Unified Parallel C) language. more>>
GCC UPC toolset provides a compilation and execution environment for programs written in the UPC (Unified Parallel C) language.
The GCC UPC compiler extends the capabilities of the GNU GCC compiler. The GCC UPC compiler is implemented as a C Language dialect translator, in a fashion similar to the implementation of the GNU Objective C compiler.
Supported Platforms
At this time, GCC UPC is available on the following platforms:
- Intel ia64 (Itanium) Linux uniprocessor and symmetric multiprocessor systems more information
- AMD amd64 Linux uniprocessor and symmetric multiprocessor systems more information
- Intel x86 Linux uniprocessor and symmetric multiprocessor systems more information
- SGI IRIX (release 6.5 or higher), mips2 32-bit ABI and mips4 64-bit ABI more information
- Cray T3E Alpha processor based system more information
- Cray XT3 Catamount AMD Opteron based system more information
- As a front-end to the Berkeley UPC Berkeley UPC runtime more information
Enhancements:
- Improved support for Cray XT3 Catamount and Cray XT3 CNL.
<<less
Download (19.3MB)
Added: 2007-03-01 License: GPL (GNU General Public License) Price:
968 downloads
UPC LiveCD 20051111

UPC LiveCD 20051111


UPC LiveCD is a UPC-enabled Linux operating system on a CD-ROM disc. more>>
UPC LiveCD is a UPC-enabled Linux operating system on a CD-ROM disc. It runs directly from the CD without installing. I created it to demonstrate UPC programming on the SC2005 conference.
With UPC LiveCD, you can try out UPC programming without the need of a multiprocessor environment. UPC LiveCD boots your laptop or workstation from a CD-ROM and runs in the memory only.
It does not have any side effects to the installed system on your computer. UPC LiveCD is based on the SLAX project. The current release contains demo versions of MuPC V1.1.2 and GCC UPC V3.4.4.1.
How to use:
- Burn the image on a blank CD.
- Read the README on the CD.
- Boot your computer from the CD. You may need to modify your BIOS settings to set CD-ROM as the first boot device.
- The system loads and starts KDE automatically. MuPC and GCC UPC are ready to use.
- When you are done, logout. The CD automatically ejects.
<<less
Download (241.6MB)
Added: 2007-05-09 License: GPL (GNU General Public License) Price:
899 downloads
Net::UPCDatabase 0.05

Net::UPCDatabase 0.05


Net::UPCDatabase is a Perl module with a simple OO interface to UPCDatabase.com more>>
Net::UPCDatabase is a Perl module with a simple OO interface to UPCDatabase.com

SYNOPSIS

use Net::UPCDatabase;
my $upcdb = Net::UPCDatabase->new;

print < pre >;

print "n[lookup]n";
my $upc = 035000764119;
my $item = $upcdb->lookup($upc);
print "UPC: $item->{upc}n";
if ($item->{error}) {
print "Error: $item->{error}n";
}
else {
print "Product: $item->{description}n";
print "Size: $item->{size}n";
}

print "n[convertUpcE]n";
my $upcE = 01212901;
my $upcA = $upcdb->convertUpcE($upcE);
print "UPCE: $upcA->{upcE}n";
if ($upcA->{error}) {
print "Error: $upcA->{error}n";
}
else {
print "UPCA: $upcA->{upc}n";
}

print "n[calculateCheckDigit]n";
my $upcC = 01200000129C;
my $upcA = $upcdb->calculateCheckDigit($upcE);
print "UPCC: $upcA->{upcC}n";
if ($upcA->{error}) {
print "Error: $upcA->{error}n";
}
else {
print "UPCA: $upcA->{upc}n";
}

print < /pre >;

<<less
Download (0.004MB)
Added: 2007-03-23 License: Perl Artistic License Price:
952 downloads
Berkeley Unified Parallel C 2.4.0

Berkeley Unified Parallel C 2.4.0


Berkeley Unified Parallel C (UPC) is an extension of the C programming language. more>>
Unified Parallel C, in short UPC, is an extension of the C programming language designed for high performance computing on large-scale parallel machines.

The language provides a uniform programming model for both shared and distributed memory hardware.

The programmer is presented with a single shared, partitioned address space, where variables may be directly read and written by any processor, but each variable is physically associated with a single processor.

UPC uses a Single Program Multiple Data (SPMD) model of computation in which the amount of parallelism is fixed at program startup time, typically with a single thread of execution per processor.

Whats New in This Release:

- Add initial native support for the Cray XT3 via new portals network
- Implement the GASP 1.5 performance instrumentation interface, supporting the
Parallel Performance Wizard (PPW) and other third-party profiling tools.
- Add bupc_ticks_to_ns() - finer granularity timer query
- Add the Berkeley implementations of the UPC collectives and UPC-IO to GCCUPC+UPCR
- Add most of the Berkeley UPC library extensions to GCCUPC+UPCR
- Add upcdecl command-line tool (also online at: http://upc.lbl.gov/upcdecl)
- Add support for alloca() and stdarg.h
- Performance improvements to the BUPC semaphore library for signalling store
- Add bupc_thread_distance() - runtime thread layout query for hierarchical systems
- Add a remote fetch-and-add UPC library extension (initially just for 64-bit ints)
- Allow configure-time tuning of bit distribution in packed pointer-to-shared rep
- Fix the following notable bugs in 2.2.2 (see http://upc-bugs.lbl.gov for details):
- bug525: optimizer crashes on Tru64/CompaqC for libgasnet
- bug1229: More robust preprocessing on Compaq C
- bug1389: ansi-aliasing violations on small local put/get copies
- bug1531: improved lock fairness to remote lock requests
- bug1594: timer inaccuracies on Cray X1E
- bug1645: preprocess-time failure Backslash found where operator expected
- bug1657: PACKAGE_* symbols exposed to UPC code on GCCUPC+UPCR
- bug1683: improve upcrun handling of -shared-heap-max
- bug 1743: More robust behavior when backend C compiler changes
- Improved SRV-based DNS failover for upcc HTTP translation
- Add gzip compression to HTTP netcompile, for faster compiles over slow links
- Improved robustness for SSH netcompile to handle stray output from dotfiles
- Numerous misc minor bug fixes
<<less
Download (MB)
Added: 2006-11-18 License: BSD License Price:
1072 downloads
GNU barcode 0.98 Beta

GNU barcode 0.98 Beta


GNU Barcode is a tool to convert text strings to printed bars. more>>
GNU Barcode is a tool to convert text strings to printed bars. GNU barcode supports a variety of standard codes to represent the textual strings and creates postscript output.
Main features:
- Available as both a library and an executable program
- Supports UPC, EAN, ISBN, CODE39 and other encoding standards
- Postscript and Encapsulated Postscript output
- Accepts sizes and positions as inches, centimeters, millimeters
- Can create tables of barcodes (to print labels on sticker pages)
<<less
Download (0.32MB)
Added: 2006-06-07 License: GPL (GNU General Public License) Price:
1240 downloads
CueAct 0.1.1

CueAct 0.1.1


CueAct is a small userspace utility that takes advantage of the Linux CueCat driver. more>>
CueAct is a small userspace utility that takes advantage of the Linux CueCat driver.
Its purpose is to exploit barcodes read by a CueCat reader, and decoded by the CueCat driver, by performing an action of interest associated with the barcode swiped (the most obvious being to link a barcode with a suitable database to look up in no time the information relevant to that barcode).
Compiling and installing
In the source directory, simply type ./make : the "cueact", "upce2upca" and "xautotype" binaries should be created without problem, the software being very simple and portable. Then, type ./make install as root to install the them in /usr/local/bin.
Enhancements:
- Deprecated the dcdb utility, as it is now useless since DigitalConvergences database has disappeared.
- Changed the sample configuration file so that it calls Mozilla instead of Netscape, and changed the UPC database used from barpoint.com back to upcdatabase.com.
<<less
Download (0.024MB)
Added: 2006-09-14 License: GPL (GNU General Public License) Price:
1136 downloads
KBarcode 2.0.5

KBarcode 2.0.5


KBarcode is a barcode and label printing application for Linux and KDE 3. more>>
KBarcode is a barcode and label printing application for Linux and KDE 3.
KBarcode can be used to print every thing from simple business cards up to complex labels with several barcodes (e.g. article descriptions).
KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, batch import of labels (directly from the delivery note), thousands of predefined labels, database managment tools and translations in many languages. Even printing more than 10.000 labels in one go is no problem for KBarcode.
Additionally it is a simply xbarcode replacement for the creation of barcodes. All major types of barcodes like EAN, UPC, CODE39 and ISBN are supported.
Enhancements:
- Fixed TBarcode2 detection in system check
- Fixed checksum for TBarcode2
- Improved CSV file import (works now with any table and fixed field files);
- Added new version of barcode writer in pure postscript;
- Supported barcodes are now parsed from barcode writer in pure postscript file;
- Fixed address printing;
<<less
Download (0.50MB)
Added: 2006-11-06 License: GPL (GNU General Public License) Price:
1086 downloads
TCPDF PHP4 4.6.022

TCPDF PHP4 4.6.022


TCPDF PHP4 provides you with an excellent and open Source PHP class which is designed for generating PDF documents. more>>

TCPDF PHP4 4.6.022 provides you with an excellent and open Source PHP class which is designed for generating PDF documents. TCPDF project was started in 2002 and now it is freely used all over the world by millions of people. TCPDF is a Free Libre Open Source Software (FLOSS).

Major Features:

  1. No external libraries are required for the basic functions
  2. Supports all ISO page formats
  3. Supports custom page formats, margins and units of measure
  4. Supports UTF-8 Unicode and Right-To-Left languages
  5. Supports TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
  6. Supports document encryption
  7. Includes methods to publish some (x)HTML code
  8. Includes graphic (geometric) and transformation methods
  9. Includes Javascript and forms support
  10. Includes a method to print various barcode formats: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS;
  11. Includes methods to set Bookmarks and print a Table of Content
  12. Includes a method to move pages
  13. Includes methods for automatic page header and footer management
  14. Supports automatic page break
  15. Supports automatic page numbering and page groups
  16. Supports automatic line break and text justification
  17. Supports JPEG and PNG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick;
  18. Supports stroke and clipping mode for text
  19. Supports clipping masks
  20. Supports Grayscale, RGB, CMYK, Spot Colors and Transparencies
  21. Supports several annotations, including links, text and file attachments
  22. Supports page compression (requires zlib extension)
  23. Supports text hyphenation
  24. Supports transactions to UNDO commands.
<<less
Added: 2009-07-24 License: LGPL Price: FREE
1 downloads
Data::Type 0.01.04

Data::Type 0.01.04


Data::Type is a Perl module with versatile data and value types. more>>
Data::Type is a Perl module with versatile data and value types.

SYNOPSIS

use Data::Type qw(:all);
use Error qw(:try);

try
{
verify $email , EMAIL;
verify $homepage , URI(http);
verify $cc , CREDITCARD( MASTERCARD, VISA );
verify $answer_a , YESNO;
verify $gender , GENDER;
verify one , ENUM( qw(one two three) );
verify [qw(two six)], SET( qw(one two three four five six) ) );
verify $server_ip4 , IP(v4);
verify $server_ip6 , IP(v6);

verify A35231AH1 , CINS;
verify 14565935 , ISSN;
verify DE , LANGCODE;
verify German , LANGNAME;

verify 012345678905, UPC();
verify 5276440065421319, CREDITCARD( MASTERCARD ) );

verify ATGCAAAT , BIO::DNA;
verify AUGGGAAAU , BIO::RNA;

verify 01001001110110101, BINARY;
verify 0F 0C 0A, HEX;

verify 0 , DEFINED;
verify 234 , NUM( 20 );
verify 1 , BOOL( true );
verify 100 , INT;
verify 1.1 , REAL;

my $foo = bless( 123, SomeThing );

verify $foo , REF;
verify $foo , REF( qw(SomeThing Else) );
verify [ bar ] , REF( ARRAY );

verify x 20 , VARCHAR( 20 );
verify 2001-01-01 , DATE( MYSQL );
verify 16 Nov 94 22:28:20 PST , DATE( DATEPARSE );
verify 9999-12-31 23:59:59, DATETIME;
verify 1970-01-01 00:00:00, TIMESTAMP;
verify -838:59:59 , TIME;
verify 2155 , YEAR;
verify 69 , YEAR(2);
verify 0 x 20 , TINYTEXT;
verify 0 x 20 , MEDIUMTEXT;
verify 0 x 20 , LONGTEXT;
verify 0 x 20 , TEXT;

verify 80 , PORT;
verify www.cpan.org, DOMAIN;
}
catch Type::Exception with
{
my $e = shift;

printf "Expected %s %s at %s line %sn",
$e->value,
$e->type->info,
$e->was_file,
$e->was_line;

foreach my $entry ( testplan( $e->type ) )
{
printf "texpecting it %s %s ", $entry->[1] ? is : is NOT, $entry->[0]->info();
}
};

# believe it or not, this really works

foreach ( EMAIL, WORD, CREDITCARD( MASTERCARD, VISA ), BIO::DNA, HEX )
{
print $_->info;
print $_->usage;
print $_->export; # does it have other names
print $_->param; # what are my choice i.e. [yes,no]
print $_->isa( IType::Business ); # is it a Business related type ?
print $_->VERSION; # first apperance in Data::Type release
}

# tied interface (alias typ)

try
{
typ ENUM( qw(DNA RNA) ), ( my $a, my $b );

print "a is typed" if istyp( $a );

$a = DNA; # $alias only accepts DNA or RNA
$a = RNA;
$a = xNA; # throws exception

untyp( $alias );
}
catch Type::Exception ::with
{
printf "Expected %s %s at %s line %sn",
$e->value,
$e->type->info,
$e->was_file,
$e->was_line;
};

dverify( $email, EMAIL ) or die $!;

my $g = Data::Type::Guard->new(

allow => [ Human, Others ], # blessed objects of that type

tests =>
{
email => EMAIL( 1 ), # mxcheck ON ! see Email::Valid
firstname => WORD,
social_id => [ NUM, VARCHAR( 10 ) ],
contacts => sub { my %args = @_; exists $args{lucy} },
}
);

$g->inspect( $h );

# compact version

overify { email => EMAIL( 1 ), firstname => WORD }, $object_a, $object_b;

print toc();

print catalog();

This module supports versatile data and value types. Out of the ordinary it supports parameterised types (like databases have i.e. VARCHAR(80) ). When you try to feed a typed variable against some odd data, this module explains what he would have expected.

<<less
Download (0.022MB)
Added: 2006-10-02 License: Perl Artistic License Price:
1117 downloads
Class::DBI::ConceptSearch 0.04

Class::DBI::ConceptSearch 0.04


Class::DBI::ConceptSearch is a Perl module to retrieve Class::DBI aggregates from high-level conceptual searches. more>>
Class::DBI::ConceptSearch is a Perl module to retrieve Class::DBI aggregates from high-level conceptual searches.

SYNOPSIS

my $cs = Class::DBI::ConceptSearch->new(xml => $config); #see CONFIGURATION
$cs->use_wildcards(1);
$cs->use_implicit_wildcards(1);
$cs->use_search_ilike(1);
$cs->use_search_lower(1);

my(@tracks) = $cs->search( albums => Britney );

Given the example Class::DBI classes (Music::CD, Music::Artist, Music::Track), lets add another one, Music::Dbxref, which contains external database accessions outside our control. Music::Dbxref includes things like UPC IDs, ASIN and ISBN numbers, vendor and manufacturer part numbers, person IDs (for artists), etc.

<<less
Download (0.007MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1129 downloads
Net::Amazon::Property::DVD 0.39

Net::Amazon::Property::DVD 0.39


Net::Amazon::Property::DVD is a Perl class for DVDs on amazon.com. more>>
Net::Amazon::Property::DVD is a Perl class for DVDs on amazon.com.

SYNOPSIS

use Net::Amazon;

# ...

if($resp->is_success()) {
for my $prop ($resp->properties) {
print $_->title(), " ",
$_->studio(), " ",
$_->year(), "n";
}

Net::Amazon::Property::DVD is derived from Net::Amazon::Property and on top of the all-purpose methods the base class provides, it offers specialized accessors for DVD parameters.

METHODS

title()

Returns the title of the DVD.

studio()

Returns the studio.

directors()

Returns a list of directors. Note that theres also a director() method only returning the first director.

starring()

Returns the same list as the method actors().

upc()

Returns the DVDs UPC as a string.

media()

Returns the DVDs media type as a string.

nummedia()

Returns the DVDs number of media (number of discs) as a string.

theatrical_release_date()

Returns the DVDs theatrical release date.

mpaa_rating()

Returns the DVDs MPAA rating.

features()

Returns the DVDs features as a list of strings. Examples: "Color", "Closed-captioned", "Widescreen".

new(xmlref => $xmlref)

Initializes an object by passing a hash of hashes structure containing the XML data returned from the service. Usually, this is just used by Net::Amazon internally to initialize objects for on backcoming data.
Check out Net::Amazon::Property for all-purpose accessors, like year, OurPrice, ListPrice, etc.

<<less
Download (0.15MB)
Added: 2007-03-09 License: Perl Artistic License Price:
959 downloads
Barcode Writer in Pure Postscript 2007-07-02

Barcode Writer in Pure Postscript 2007-07-02


Barcode Writer in Pure Postscript implements the printing of many barcode formats entirely within level 2 PostScript. more>>
Barcode Writer in Pure Postscript is an award-winning open source project, as used by NASA, that facilitates the printing of all major barcode symbologies entirely within level 2 PostScript.
Hence the process of generating a printed barcode representing a given input is performed entirely within the printer (or print system) so that it is no longer the responsibility of your application or a library.
There is no need for any barcode fonts and the flexibility gained by using direct PostScript allows you to avoid re-implementing barcode generator code, or migrating to new libraries, whenever your project language needs change.
Barcode Writer in Pure Postscript project makes including any barcode within a PostScript document as simple as inserting the following directive:
(1-86074-271) (includetext) isbn barcode
The project generates all of the major types of one-dimensional barcode supported by the vast majority of barcode scanners.
The current list of supported symbologies includes: EAN-13, EAN-8, UPC-A, UPC-E, EAN-5 & EAN-2 (EAN/UPC add-ons), ISBN (including ISBN-13), Code 128 (A, B & C, including EAN-128), Code 39 Extended, Code 93 Extended, Interleaved 2 of 5 (including ITF-14), Code 2 of 5, Codabar, MSI, Plessey, PostNet, Royal Mail (RM4SCC), FIM symbols.
This list is growing all the time. If it doesnt contain the format you are looking for then make a request via the mailing list and check back soon.
Since this resource is written in PostScript and interpretted within the virtual machine of a printer it is compatible with virtually any operating system and hardware platform, for example Windows 95/XP on i386, Mac OS X/Linux on Power PC, Solaris on SPARC, and OpenVMS on Alpha AXP.
Enhancements:
- Support for the MaxiCode 2D barcode was added.
<<less
Download (0.18MB)
Added: 2007-07-03 License: MIT/X Consortium License Price:
847 downloads
x10 0.3.2

x10 0.3.2


X10 is a new object-oriented, type-safe programming language for programming the next generation of high performance systems. more>>
X10 project is a new object-oriented, type-safe programming language for programming the next generation of high performance systems. X10 is designed and developed by IBM.
While developed in close contact with the designers of X10 at IBM there are significant differences in syntax and semantics between the (current) IBM prototype and language specification. Those differences arise primarily from the fact that the X10-XTC compiler attempts to implement what might be close to the (non-existant) 0.5 specification of the language, whereas the IBM reference implementation targets the 0.41 specification.
We hope that 0.5 will add operator overloading, generics and region types and thus the X10-XTC compiler is build trying to support these concepts.
Another key difference is that the current X10-XTC compiler does not support close integration of X10 code (however, Java code can be called using classes that are declared to be extern). On the technical side, the IBM compiler compiles X10 code to Java source code which is then compiled to Java bytecode by javac.
The XTC-X10 compiler produces Tucson IR which is currently interpreted by an interpreter written in Java (but is supposed to be compiled to C or native code in the future). The reason is that Tucson IR will hopefully be easier to compile and optimize compared with Java ASTs. As a result, equivalent X10 code should run slower with XTC-X10 today, but might run as fast as UPC code once we are a bit further along.
Enhancements:
- This release fixes some minor bugs in the code generator for atomic sections.
- The type checker was improved substantially and now works for simple distribution operations.
- In addition to the X10 compiler front-end and interpreter backend, a new backend that generates C code was started.
- The new C backend already supports constants, (virtual) calls, exceptions, branches, allocation, and get/put operations.
<<less
Download (8.1MB)
Added: 2006-02-22 License: GPL (GNU General Public License) Price:
1347 downloads
Net::Amazon 0.39

Net::Amazon 0.39


Net::Amazon is a framework for accessing amazon.com via REST. more>>
Net::Amazon is a framework for accessing amazon.com via REST.

SYNOPSIS

use Net::Amazon;

my $ua = Net::Amazon->new(token => YOUR_AMZN_TOKEN);

# Get a request object
my $response = $ua->search(asin => 0201360683);

if($response->is_success()) {
print $response->as_string(), "n";
} else {
print "Error: ", $response->message(), "n";
}

ABSTRACT

Net::Amazon provides an object-oriented interface to amazon.coms
REST interface. This way its possible to create applications
using Amazons vast amount of data via a functional interface, without
having to worry about the underlying communication mechanism.

Net::Amazon works very much like LWP: First you define a useragent like

my $ua = Net::Amazon->new(
token => YOUR_AMZN_TOKEN,
max_pages => 3,
);

which you pass your personal amazon developers token (can be obtained from http://amazon.com/soap) and (optionally) the maximum number of result pages the agent is going to request from Amazon in case all results dont fit on a single page (typically holding 20 items). Note that each new page requires a minimum delay of 1 second to comply with Amazons one-query-per-second policy.

According to the different search methods on Amazon, theres a bunch of different request types in Net::Amazon. The user agents convenience method search() triggers different request objects, depending on which parameters you pass to it:

$ua->search(asin => "0201360683")
The asin parameter has Net::Amazon search for an item with the specified ASIN. If the specified value is an arrayref instead of a single scalar, like in
$ua->search(asin => ["0201360683", "0596005083"])
then a search for multiple ASINs is performed, returning a list of results.
$ua->search(actor => "Adam Sandler")
The actor parameter has the user agent search for items created by the specified actor. Can return many results.
$ua->search(artist => "Rolling Stones")
The artist parameter has the user agent search for items created by the specified artist. Can return many results.
$ua->search(author => "Robert Jordan")
The author parameter has the user agent search for items created by the specified author. Can return many results.
$ua->search(browsenode=>"4025", mode=>"books" [, keywords=>"perl"])
Returns a list of items by category ID (node). For example node "4025" is the CGI books category. You can add a keywords parameter to filter the results by that keyword.
$ua->search(exchange => Y04Y3424291Y2398445)
Returns an item offered by a third-party seller. The item is referenced by the so-called exchange ID.
$ua->search(keyword => "perl xml", mode => "books")
Search by keyword, mandatory parameters keyword and mode. Can return many results.
$ua->search(wishlist => "1XL5DWOUFMFVJ")
Search for all items in a specified wishlist. Can return many results.
$ua->search(upc => "075596278324", mode => "music")
Music search by UPC (product barcode), mandatory parameter upc. mode has to be set to music. Returns at most one result.
$ua->search(isbn => "0439784549")
Book search by ISBN (International Standard Book Number), mandatory parameter isbn. Returns at most one result. When searching non-US locales use the 13-digit ISBN.
$ua->search(similar => "0201360683")
Search for all items similar to the one represented by the ASIN provided. Can return many results.
$ua->search(power => "subject: perl and author: schwartz", mode => "books")
Initiate a power search for all books matching the power query. Can return many results. See Net::Amazon::Request::Power for details.
$ua->search(manufacturer => "Disney")
Initiate a search for all items made by a given manufacturrer. Can return many results. See Net::Amazon::Request::Manufacturer for details.
$ua->search(musiclabel => "Arista")
Initiate a search for all items made by a given music label. Can return many results. See Net::Amazon::Request::MusicLabel for details.
$ua->search(publisher => "oreilly")
Initiate a search for all items made by a given publisher. Can return many results. See Net::Amazon::Request::Publisher for details.
$ua->search(blended => "Perl")
Initiate a search for items in all categories.
$ua->search(seller => "A2GXAGU54VOP7")
Start a search on items sold by a specific third-party seller, referenced by its ID (not seller name).
$ua->search(textstream => "Blah blah Rolling Stones blah blah")
Find items related to keywords within a text stream.
The user agents search method returns a response object, which can be checked for success or failure:
if($resp->is_success()) {
print $resp->as_string();
} else {
print "Error: ", $resp->message(), "n";
}

In case the request for an item search succeeds, the response contains one or more Amazon properties, as it calls the products found. All matches can be retrieved from the Response object using its properties() method.

In case the request fails, the response contains one or more error messages. The response objects message() method will return it (or them) as a single string, while messages() (notice the plural) will return a reference to an array of message strings.

Response objects always have the methods is_success(), is_error(), message(), total_results(), as_string() and properties() available.
total_results() returns the total number of results the search yielded. properties() returns one or more Net::Amazon::Property objects of type Net::Amazon::Property (or one of its subclasses like Net::Amazon::Property::Book, Net::Amazon::Property::Music or Net::Amazon::Property::DVD), each of which features accessors named after the attributes of the product found in Amazons database:

for ($resp->properties) {
print $_->Asin(), " ",
$_->OurPrice(), "n";
}

In scalar context, properties() just returns the first Net::Amazon::Property object found. Commonly available accessors to Net::Amazon::Property objects are OurPrice(), ImageUrlLarge(), ImageUrlMedium(), ImageUrlSmall(), ReleaseDate(), Catalog(), Asin(), url(), Manufacturer(), UsedPrice(), ListPrice(), ProductName(), Availability(), SalesRank(), CollectiblePrice(), CollectibleCount(), NumberOfOfferings(), UsedCount(), ThirdPartyNewPrice(), ThirdPartyNewCount(), similar_asins(). For details, check Net::Amazon::Property.

Also, the specialized classes Net::Amazon::Property::Book and Net::Amazon::Property::Music feature convenience methods like authors() (returning the list of authors of a book) or album() for CDs, returning the album title.

Customer reviews: Every property features a review_set() method which returns a Net::Amazon::Attribute::ReviewSet object, which in turn offers a list of Net::Amazon::Attribute::Review objects. Check the respective man pages for details on whats available.

<<less
Download (0.15MB)
Added: 2007-03-09 License: Perl Artistic License Price:
959 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1