Different way of getting Standard input



Hi All,

What is the difference in Accepting the following form of standard input?

1) $a = <STDIN>;
2) $b = <stdin>;
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


____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

Relevant Pages

  • Re: Bug fix for scid
    ... However, the web site was recently updated, so I hope Shane gets back to scid's development. ... I think I was *wrong* to say it should work under Windows like this. ... tclsh - Simple shell containing Tcl interpreter ... from its standard input or from a file and evaluates them. ...
    (rec.games.chess.computer)
  • Re: swing console
    ... good example seems to me matlab command window or autocad ... standard input and writes to standard output. ... Swing widget, which is one that displays graphical windows. ...
    (comp.lang.java.gui)
  • Standard input Question
    ... If i going to write a script with a standard input how ... would it look like?My perl book don't talk about it. ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (perl.beginners)