From: "John W. Krahn" <[EMAIL PROTECTED]> > Jenda Krynicky wrote: > > > > From: "John W. Krahn" <[EMAIL PROTECTED]> > > > "Elizabeth A. Rice" wrote: > > > > > > > > What I've written so far.... > > > > > > > > @ARGV = ("$logfile"); # prime the diamond > > > > operator > > > ^^ ^^ > > > Useless use of quotation marks and parenthesis. > > > > > > @ARGV = $logfile; > > > > I agree completely on the "useless use of quotes", but IMHO it's > > more readable&understandeable with the parens. > > > > They do not change the meaning, but somehow I feel better > > assigning a list instead of a scalar to an array: > > > > @ARGV = ( $logfile ); > > Putting parenthesis around a scalar does not transform it to a list, > the parenthesis are used for precedence which is redundent in this > context.
Visualy they do. I agree they are redundant, it's just that the code looks nicer (to me) with than without them. 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]