Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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.

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 cooling their heels in the Monastery: (3)
As of 2016-10-24 23:25 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (311 votes). Check out past polls.