Subject: | pipe open does not work with Inline::Files |
Date: | Tue, 31 Mar 2009 08:49:51 +0200 |
To: | <bug-Inline-Files [...] rt.cpan.org> |
From: | "Ulbrich, Andreas" <Andreas.Ulbrich [...] ottogroup.com> |
That's the simple script:
xxx@yyy:~/zzz> cat test.pl
# use Inline::Files;
open FOO, "cat test.pl |" or die "Fehler: $!";
while (<FOO>) {
print $_;
}
close FOO;
It's running:
xxx@yyy:~/zzz> perl test.pl
# use Inline::Files;
open FOO, "cat test.pl |" or die "Fehler: $!";
while (<FOO>) {
print $_;
}
close FOO;
Now uncomment the use-line und run again:
xxx@yyy:~/zzz> cat test.pl
use Inline::Files;
open FOO, "cat test.pl |" or die "Fehler: $!";
while (<FOO>) {
print $_;
}
close FOO;
xxx@yyy:~/zzz> perl test.pl
Fehler: No such file or directory at test.pl line 3.
I'm using perl version
This is perl, v5.8.7 built for i586-linux-thread-multi
And Inline-Files-0.62.tar.gz