Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Converting a source code

by swampyankee (Parson)
on Aug 21, 2006 at 22:04 UTC ( [id://568697]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Converting a source code
in thread Converting a source code

No, no not this

open "SOURCEFILE", '<', "source.cbl" or die "Can't open: $!";

but this:
open SOURCEFILE, '<', "source.cbl" or die "Can't open: $!";

I probably was less than clear (typical; my first language is Ambiguous English). When I said "uppercase strings", I just meant that file handles typically look like this FILEHANDLE not like filehandle.

emc

Experience is a hard teacher because she gives the test first, the lesson afterwards.

Vernon Sanders Law

Replies are listed 'Best First'.
Re^4: Converting a source code
by rvosa (Curate) on Aug 22, 2006 at 01:10 UTC
    Or the 'better practice' form:
    open my $sourcefh, '<', 'source.cbl' or die $!;
Re^4: Converting a source code
by oblate kramrdc (Acolyte) on Aug 24, 2006 at 21:57 UTC

    ah ok tnx swampyankee!!!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-03-28 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found