How did I forget Perl?

May 20, 2009 12:00

It's been a long time since I wrote any Perl.  I'm trying to use some old code, but adapt it as part of a different program.  I have to open input and output files and couldn't remember how to do it at all.  Not a good sign.  I think this is going to take a little longer than I originally thought with all the other programs I'm going to have to ( Read more... )

perl

Leave a comment

Comments 2

opening file for input alexchorny May 20 2009, 20:49:51 UTC
open (my $fh,'<','filename') or die;

"Beginning Perl" may help you.

Reply

Re: opening file for input jen_drake May 20 2009, 20:53:15 UTC
So does the code I wrote two years ago, but thanks.

Reply


Leave a comment

Up