Bug#824511: Perl-5.22.2 does not inherit shell enviorment

2016-05-17 Thread Niko Tyni
retitle 824511 perl: shell execution removes exported bash functions block 824511 with 814358 thanks (Please keep 824...@bugs.debian.org cc'd on replies) On Tue, May 17, 2016 at 11:25:26AM -0600, Christoph Junghans wrote: > 2016-05-17 9:06 GMT-06:00 Niko Tyni : > > On Mon, May 16, 2016 at 04:07:4

Bug#824511: Perl-5.22.2 does not inherit shell enviorment

2016-05-17 Thread Niko Tyni
On Mon, May 16, 2016 at 04:07:42PM -0600, Christoph Junghans wrote: > Package: perl > Version: 5.22.2-1 > > The behavior when calling an exported shell function from whitin perl > has changed in version 5.22.2 > > $ bash > $ fct() { echo "Hello from within function";} > $ export -f fct > $ perl -

Bug#824511: Perl-5.22.2 does not inherit shell enviorment

2016-05-16 Thread Christoph Junghans
Package: perl Version: 5.22.2-1 The behavior when calling an exported shell function from whitin perl has changed in version 5.22.2 $ bash $ fct() { echo "Hello from within function";} $ export -f fct $ perl -e '$x=`bash -c "fct"`; print $x' bash: fct: command not found In contrast in version 5.