Subject: | inlined code is executed twice, sometimes |
Ruby code can get executed twice.
$ perl -e 'use Inline Ruby => "puts 42";'
42
No functions or classes found! at /usr/local/lib/x86_64-linux-gnu/perl/5.26.1/Inline/Ruby.pm line 303.
42
$ perl -e 'use Inline Ruby => "puts 42";'
42
This is due to something being cached in an _Inline directory:
$ perl -e 'use Inline Ruby => "puts 42";'
42
No functions or classes found! at /usr/local/lib/x86_64-linux-gnu/perl/5.26.1/Inline/Ruby.pm line 303.
42
$ rm -rf _Inline
$ perl -e 'use Inline Ruby => "puts 42";'
42
No functions or classes found! at /usr/local/lib/x86_64-linux-gnu/perl/5.26.1/Inline/Ruby.pm line 303.
42