Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Output should have multiple segments

by Vynce (Friar)
on Jul 17, 2008 at 05:15 UTC ( [id://698243]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Output should have multiple segments
in thread Output should have multiple segments

$m->notes is very useful.

That said, I dislike & mistrust using Mason's filter stuff, though there are times & ways in which I think it is the most expedient option.
  • Comment on Re^3: Output should have multiple segments

Replies are listed 'Best First'.
Re^4: Output should have multiple segments
by John M. Dlugosz (Monsignor) on Jul 18, 2008 at 07:34 UTC
    I guess notes was added after the books were written. It's basically global variables that don't need to be declared. Handy to have a component "return" the generated text but still be able to present values back to the caller. Gee, I thought that was all evil stuff? Making it seem new again for a new generation!

    I've not used Filter yet, but I'm less concerned if filtering individual components such as to mark the current page in a navigation menu, because you can be sure what to expect in the text to grep.

    —John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-25 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found