Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to read the file from stdin using perl?

by tobyink (Canon)
on May 09, 2017 at 10:42 UTC ( [id://1189874]=note: print w/replies, xml ) Need Help??


in reply to How to read the file from stdin using perl?

Do you mean you want to be given a filename as STDIN, then open that file and read your data from it?

Or do you mean you want to read your data directly from STDIN?

  • Comment on Re: How to read the file from stdin using perl?

Replies are listed 'Best First'.
Re^2: How to read the file from stdin using perl?
by gopikavi (Initiate) on May 09, 2017 at 11:11 UTC
    i want to read my data directly from STDIN?
      Reading STDIN and if exists inside my file then it should print the whole file?

        "Reading STDIN and if exists inside my file then it should print the whole file?"

        Are you questioning yourself? You should post a clear statement of the problem you are experiencing, any source data, your desired output. Before posting again read and understand How do I post a question effectively?.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1189874]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-24 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found