in reply to updating Devel::BeginLift (or, statement vs. expression keywords)
Not that I'm aware of. The limitation of Keyword::Simple to statements is a major headache to many projects.
> I also tried starting from scratch with Keyword::Simple,
This would have been my suggestion, but you'll need to patch all code with a curry expression with a surrounding do {...}
I only had a brief look into Sub::Curried but it seems to me that the "composition" features won't make it easier.
Personally I think it would have been better to design all this with syntax of function attributes like :curry
But going this way won't save you from refactoring your code.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: updating Devel::BeginLift (or, statement vs. expression keywords)
by prj (Initiate) on Jun 14, 2024 at 07:55 UTC | |
by hv (Prior) on Jun 14, 2024 at 14:43 UTC | |
by LanX (Saint) on Jun 14, 2024 at 10:45 UTC |