in reply to Re: Re: backtick problems with perl 5.6.1.631
in thread backtick problems with perl 5.6.1.631
Does printperl -e "@dir=`dir`; print qq{hello, $dir[0]};"
However, this is because the first line of output from the Windows "dir" command is a blank line. If instead you usehello,
you'll getperl -e "@dir=`dir`; print qq{hello, $dir[1]};"
hello, Volume in drive C has no label
stephen
Clarification: My response only referred to the example in the parent node. I'm sorry that my response wasn't helpful. I tested my example code on 5.6.1.631 running on Windows 98, and it gave the results I stated. Perhaps I've got an incorrect assumption running around someplace.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: backtick problems with perl 5.6.1.631
by particle (Vicar) on Mar 27, 2002 at 21:17 UTC | |
|
Re: Re: Re: Re: backtick problems with perl 5.6.1.631
by ruffing (Acolyte) on Mar 27, 2002 at 20:48 UTC |