List Info

Thread: Re: Dump arrays/hashes




Re: Dump arrays/hashes
country flaguser name
United States
2007-09-19 07:34:47

--- In perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com, "bike2ride" <gl_bike2ride...>
wrote:
&gt;
> --- In perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com, Ryan J Nauman <RJNauman> wrote:
&gt; >
>; > 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
&gt; >
> > ------------------------
>; > Ryan Nauman
&gt; > Business Intelligence
> > Decision Support
> > (412) 433-1737
> >
> > [Non-text portions of this message have been removed]
> >
>;
> use Data:umper;
&gt;
> print Dumper (yourArray);
> print Dumper (yourHash);
>
> ~
>
print Dumper (%yourHash);

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )