Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: "Current position" of source filter input relative to original input

by Corion (Patriarch)
on Jul 23, 2011 at 15:28 UTC ( #916317=note: print w/replies, xml ) Need Help??

in reply to "Current position" of source filter input relative to original input

The solution in the end was trivially simple, but it was dg on #p5p who pointed out that just inspecting caller should give me the information, and so it does.

An alternative approach suggested by mst on #p5p was to first inject BEGIN { Querylet::set_code_start(__LINE__) } as the first filter result, and then, after that has been evaluated, to return the rest of the code. That would have been a viable hack, but far less elegant.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2022-09-29 06:54 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (125 votes). Check out past polls.