Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: traversing a list of objects

by IOrdy (Friar)
on Dec 08, 2004 at 13:20 UTC ( [id://413190]=note: print w/replies, xml ) Need Help??


in reply to traversing a list of objects

I might be missing the point but why are you poking around the internals of the object?

The docs for Net::Amazon::Response shows that properties() returns an array of objects (each of which is a Net::Amazon::Property::* object I guess)
if($resp->is_success) { foreach my $property ($resp->properties) { # $property isa Net::Amazon::Property object # print $property->as_string, $/; print $property->ProductName, ' ', $property->ReleaseDate, $/; } }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://413190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-25 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found