From:                   "Matthew Weier O'Phinney" <[EMAIL PROTECTED]>
> Basically, I have the following question(s) about the backtick operators:
> In a scalar string context, will  a shell command called by the backtick 
> operator  return ALL lines? i.e., if egrep returns multiple lines, will 
> $parseFile contain all the lines? I know that in a list context, each item
> in the list will contain a single line -- but can it work this way as well?

The docs say :

The collected standard output of the command is returned; 
standard error is unaffected. In scalar context, it comes back as a 
single (potentially multi-line) string, or undef if the command failed. 
In list context, returns a list of lines (however you've defined lines 
with $/ or $INPUT_RECORD_SEPARATOR), or an empty list if   
the command failed.

I think that's clear :-)

Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to