Re: Different way of getting Standard input

2007-12-31 Thread anders
On 31 Dec, 08:45, [EMAIL PROTECTED] (Prabu Ayyappan) wrote: > Hi All, > > What is the difference in Accepting the following form of standard input? > > 1) $a = ; > 2) $b = ; > 3) $c = <>; > > Now check, > print $a $b $c; > > What is actually happening? > Will this be written to some standard input

Re: Different way of getting Standard input

2007-12-31 Thread Chas. Owens
On Dec 31, 2007 2:45 AM, Prabu Ayyappan <[EMAIL PROTECTED]> wrote: > Hi All, > > What is the difference in Accepting the following form of standard input? > > 1) $a = ; > 2) $b = ; > 3) $c = <>; > > Now check, > print $a $b $c; > > > What is actually happening? The first two are the same thing (bu

Re: Different way of getting Standard input

2007-12-31 Thread John W. Krahn
Prabu Ayyappan wrote: Hi All, Hello, What is the difference in Accepting the following form of standard input? 1) $a = ; readline() from the standard input device in scalar context. 2) $b = ; Same as 1 but using the deprecated lower case form of STDIN. 3) $c = <>; readline() from

Different way of getting Standard input

2007-12-31 Thread Prabu Ayyappan
Hi All, What is the difference in Accepting the following form of standard input? 1) $a = ; 2) $b = ; 3) $c = <>; Now check, print $a $b $c; What is actually happening? Will this be written to some standard input file? If so In windows where this will be written? Thanks, Prabu.M.A