Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: How to walk through convoluted data?

by perl-diddler (Chaplain)
on Jul 21, 2021 at 20:41 UTC ( [id://11135276]=note: print w/replies, xml ) Need Help??


in reply to Re: How to walk through convoluted data?
in thread How to walk through convoluted data?

May be a class factory, remember this is a rewrite of a previous version that only read the xml files as a guide of that rpms to download. That there are errors in it, is unsurprising, since, while I started with working code, I'm no where close to the new code that needs to go into its place. I'll have to reread some source(s) about class facs.

As for throwing away the output of mkBless...that's because it is equivalent to:

sub new() {my $p = shift; my $c=ref $p||$p; my $arghash = @_ ? shift : {}; blessed $p? $p->SUPER::new($arg) : ($p = $c->new($arghash); $p }
except that there was a chain of included blessed object before the final output -- that's what I tried to short with mkBless (which I just cooked up for this example, actually, so I can't really defend its usage much, it being my first experience with it.

So bugs? ya ya!, plenty, it was meant to be example code to give an idea of what I was having to do to generate / access data, its definitely not working code! ;-( :-) :-)

-l

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found