Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] Re: Dump arrays/hashes

Expand Messages
  • Ryan J Nauman
    ... You are a life saver :) [Non-text portions of this message have been removed]
    Message 1 of 5 , Sep 19, 2007
    • 0 Attachment
      perl-beginner@yahoogroups.com wrote on 09/19/2007 08:32:57 AM:

      > --- In perl-beginner@yahoogroups.com, Ryan J Nauman <RJNauman@...>
      wrote:
      > >
      > > Is there any function to nicely dump the contents of an array/hash?
      > > Similar to var_dump or print_r in php? If not, anyone have one they
      > wrote
      > > themselves?
      > >
      > > Thanks
      > >
      > > ------------------------
      > > Ryan Nauman
      > > Business Intelligence
      > > Decision Support
      > > (412) 433-1737
      > >
      > > [Non-text portions of this message have been removed]
      > >
      >
      > use Data::Dumper;
      >
      > print Dumper (\@yourArray);
      > print Dumper (\@yourHash);
      >
      > ~

      You are a life saver :)

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.