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

Re: Paul Graham on Great Hackers

by Ovid (Cardinal)
on Jul 29, 2004 at 07:27 UTC ( [id://378310]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    try {
      FileInputStream stream = new FileInputStream(myFile);               
    +                                                                 
      DataInputStream input  = new DataInputStream(stream);               
    +                                                                 
    ...
    catch (Exception e) {
        System.err.println("Could not read from file");
    }
    
  2. or download this
    open INPUT, "<", $input or die "Cannot open ($input) for reading: $!";
    print <INPUT>;
    close INPUT or die "Could not close $input: $!";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found