develooper Front page | perl.perl5.porters | Postings from December 2000

[patch] perlfaq7

Thread Next
From:
Gerrit P. Haase
Date:
December 14, 2000 06:35
Subject:
[patch] perlfaq7
Message ID:
3A38E7BB.13178.11C40A8@localhost
$ diff -u perlfaq7.pod~ perlfaq7.pod
--- perlfaq7.pod~       Thu Dec 14 14:20:14 2000
+++ perlfaq7.pod        Thu Dec 14 14:24:33 2000
@@ -397,7 +397,7 @@
 If you're planning on generating new filehandles, you could do this:

     sub openit {
-        my $name = shift;
+        my $path = shift;
         local *FH;
         return open (FH, $path) ? *FH : undef;
     }


-- 
Gerrit Peter Haase
haase@convey.de

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About