Hi, Two things :
- What is it meant to do?
- What is the output in both versions of ActivePerl?
You might also put the Perl code in 'code' tags - See this node for guidance and this node for information on linking to other resources.
Good luck!
| [reply] |
Seems to work ok in builds 817 and 638 (which is the oldest perl I have):
D:\pscrpt>perl try.pl
Help!
Help me!
Why are you still using perl 5.6 ? (Just curious.)
Cheers,
Rob | [reply] [d/l] |
Works for me on per v5.8.8b816.
Help!
Help Me!
Is there a reason you are using an older build? If not, have you tried updating your Active Perl distrubution? | [reply] [d/l] |
How odd, someone by the name of "Norio Suzuki" seems to have reported the exact same bug back in 2001, and it was indeed fixed in ActivePerl build 630.
------- Description from SUZUKI, Norio 2001-11-06 14:36
The script shown below works on ActivePerl build 629,
but not works on build 630.
---^
system "echo Help!";
system "command/c echo Help me! > help.tmp";
open FILE, "type help.tmp |";
@file = <FILE>;
close FILE;
for (@file) {print}
---$
--chargrill
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; =
qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
| [reply] [d/l] [select] |
Why are using system to send text to the display and a file when print will do the same thing without the overhead involved in making system calls? | [reply] |
Which version of perl are ActivePerl builds 629 and 630?
| [reply] |
Builds 629 and 630 are perl 5.6.1.
Cheers, Rob
| [reply] |