Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Perl-Sensitive Sunglasses
 
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 imbibing at the Monastery: (10)
As of 2014-04-17 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (445 votes), past polls