Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: File Handles Chapter(not homework)

by jwkrahn (Monsignor)
on Aug 02, 2012 at 10:01 UTC ( #984997=note: print w/ replies, xml ) Need Help??


in reply to File Handles Chapter(not homework)

Write a program that opens a file with STDIN and then writes each line of the file proceded by the file's name and a colon.

Strictly speaking, Standard IO is a streaming protocol and there is no meta-data associated with it (like name, size or date) so you must have been asked a different question.


Comment on Re: File Handles Chapter(not homework)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2015-07-29 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls