in reply to example in book of Programming Perl does not work.
Greetings yangy,
You have an en dash in your open statement.
Changing it to a regular hyphen minus makes it work for me.return if my $pid = open(STDOUT, "|–");
return if my $pid = open(STDOUT, "|-");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: example in book of Programming Perl does not work.
by yangy (Novice) on May 30, 2013 at 08:53 UTC |
In Section
Seekers of Perl Wisdom