Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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 chanting in the Monastery: (6)
As of 2016-10-27 01:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (352 votes). Check out past polls.