You sound confused about filehandles, STDIN is nothing but a Perl filehandle which is a label that describes a connection to a file, Perl has many types of filehanldes, examples are the STDIN, STDOUT, STDERR, now the way these are different has to be obvious from their context after you read about them, there're technical differences as well that got to do with buffering for instance, And you can have your own filehandles introduced too.

If you wanna learn following the right path then you might want to invest time in studying and reflecting, if you rely only on environmental impulses to motivate you you may well be laying the bricks on top of each other before they're hardened enough yet before you complete building and it'd come falling down on its weight.

Anyhow here's a list that can be of use (just for starters):

NB: filehandles are customary written in uppercase.
Good Luck and Happy Perl journey.


Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.

In reply to Re: stdin in perl by biohisham
in thread stdin in perl by manishrathi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.