in reply to Re^6: About using rperl
in thread About using rperl
For instance code like the following
sub func :cpp int { my int ($a,$b) = @_; return $a+$b }
is (after predefining :cpp and int) legal perl5 syntax and B::Deparse gets all necessary details.
sub func { (my int ($a, $b)) = @_; return $a + $b; } use attributes ('main', sub { (my int ($a, $b)) = @_; return $a + $b; } , 'cpp', 'int');
So whats the extra value of rperl?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: About using rperl
by Anonymous Monk on Aug 15, 2019 at 18:47 UTC | |
by LanX (Saint) on Aug 15, 2019 at 19:09 UTC |