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!!!