problem with opening up huge sized file

Rick J pisium at yahoo.com
Mon Jan 22 11:49:24 CST 2001


Hi, there!

Sorry for being late. I had to do it in the office.

I used a very simple open subroutine as it is:"

open (F, "file_path") or die "$!;
while (<F>){
  do something; #like print;
}

The error is:
Can't open the file
Value too large for defined data type at test.pl line
3.

And now the output for perl -V:

Summary of my perl5 (5.0 patchlevel 4 subversion 4)
configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos rodin 5.6 generic sun4u sparc '
    hint=recommended, useposix=true,
d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define,
usevfork=false
    voidflags=15, castflags=0, d_casti32=define,
d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y,
prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G
-L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Dec 16 1997 17:04:23
  @INC:
    /usr/local/lib/perl5/sun4-solaris/5.00404
    /usr/local/lib/perl5
    /usr/local/lib/perl5/site_perl/sun4-solaris
    /usr/local/lib/perl5/site_perl
    .

Thank you, all!

Ricky


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/
=================================================
Mailing list info:  If at any time you wish to (un|re)subscribe to
the list send the request to majordomo at hfb.pm.org.  All requests
should be in the body, and look like such
                  subscribe anchorage-pm-list
                  unsubscribe anchorage-pm-list



More information about the Anchorage-pm mailing list