why notfor ( $foo, $bar, $baz->() ) { # less characters, safe mecha +nism
Yes of course, but for the sake of TIMTOWTDI, transparent calls of functions/methods known in the scope which uses the DSL should be possible. And yes, the notation Page->baz() is a kludge. Need something else.
In reply to Re^7: Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
by shmem
in thread Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |