View Single Post
  #4   (View Single Post)  
Old 18th November 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

Thanks for the replies. As I wrote a few scripts, I am getting familiar with the "hash" concept and Perl. But this is where it becomes confusing:

For the same hash I pasted in my first post, whenI print $attributes I get:

Code:
ARRAY(0x811a214)
Now, is a HASH an array itself?
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote