Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
No such thing as a small change
 
PerlMonks  

Re^2: TreePP (Hash or Array)

by bitman (Sexton)
on Jan 15, 2007 at 16:49 UTC ( #594773=note: print w/ replies, xml ) Need Help??


in reply to Re: TreePP (Hash or Array)
in thread TreePP (Hash or Array)

Except, it didn't work. But I used your solution, but I guess my code isn't that elegant though.

if ( ref $tree->{$xfile}->{$rec} eq 'HASH' ) { my $x=$tree->{$xfile}->{$rec}; delete $tree->{$xfile}->{$rec}; $tree->{$xfile}->{$rec}[0]=($x); }


Comment on Re^2: TreePP (Hash or Array)
Download Code
Re^3: TreePP (Hash or Array)
by eff_i_g (Curate) on Jan 15, 2007 at 17:18 UTC
    force_array did not work? Is it not what it seems to be, a bug, or, upon second glance, a (gasp!) user error?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-04-17 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls