Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2015-10-07 16:06 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (190 votes), past polls