Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^4: RFC: Inline::Blocks or inline as a keyword?

by shmem (Chancellor)
on Aug 01, 2018 at 22:58 UTC ( #1219670=note: print w/replies, xml ) Need Help??

in reply to Re^3: RFC: Inline::Blocks or inline as a keyword?
in thread RFC: Inline::Blocks or inline as a keyword?

(...) but the biggest reason to support indented sub definitions is:

Now that's convincing. Well erm... to do things right I'd need to check also what the current package is, for package NAME BLOCK definitions. Then, there could be a inline subroutine(LIST) or even inline subroutine LIST calling an inlineable subroutine imported from elsewhere. I could require B::Deparse and do a coderef2text in that case. Looks like the CAVEATS section needs to be much longer in the pod... or much more work to be done.

But then, as I mentioned elsewhere in this thread, I'm not at all sure if this package is worth the effort.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2021-02-25 06:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found