At 12:46 PM 6/13/01 -0400, Tim Musson wrote: >I was thinking along the same lines, but have another question. Why >would you . instead of , in the print line? > >why > print DATAFILE "\n\n" . '='x77 . "\n\n" . localtime; >over > print DATAFILE "\n\n" , '='x77 , "\n\n" , localtime; No difference in this case. The . will put the things on each side in scalar context, the , will keep them in the list context imposed by print. For other things on each side, this can make a difference. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com
- Problem printing a system value to a filehandle (windows) Craig S Monroe
- Re: Problem printing a system value to a filehandle (w... Chas Owens
- Re: Problem printing a system value to a filehandl... Craig S Monroe
- Re: Problem printing a system value to a filehandle (w... Mark Folse
- Re: Problem printing a system value to a filehandl... Brett W. McCoy
- RE: Problem printing a system value to a filehandle (w... John Edwards
- Re: Problem printing a system value to a filehandl... Craig S Monroe
- RE: Problem printing a system value to a filehandl... Peter Scott
- RE: Problem printing a system value to a filehandle (w... JColwell