Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: nodelists and nodesets

by nonnonymousnonk (Novice)
on Nov 23, 2007 at 12:16 UTC ( [id://652550]=note: print w/replies, xml ) Need Help??


in reply to Re: nodelists and nodesets
in thread nodelists and nodesets

Thanks David,

That's unnecessary, using $device (.....) as the context is fine.

'Context' is the magic word that made the penny drop. This:

$subdevice = $device->find('/subdevice', $device);
Does just what I need.

I was only looking at stuff in the debugger to try to understand the difference between nodesets and node lists. It wasn't helpful as both are far too large to read.
All I could really gleen was whether my code was giving vaguely sensible results.

Thanks a mill
Nonk

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2026-03-10 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.