Perl/Shell Knowledge Sharing
Perl Interview Questions and Answers
Thursday, June 19, 2014
<> operator
<> is a highly magical operator. First it checks @ARGV to see if there are arguments to use a filename.
If there are, it will open each file in order, and iterate through each line.
If @ARGV is empty, it checks for input on STDIN.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment