Front page | perl.perl5.porters |
Postings from December 2004
[perl #33608] Problems in Perl 5.6.1 (Can"t locate object method "ToUpper" via package "main" (perhaps you forgot to load "main"?) )
Thread Previous
From:
Sravanth Kumar Nagunuri
Date:
December 31, 2004 02:05
Subject:
[perl #33608] Problems in Perl 5.6.1 (Can"t locate object method "ToUpper" via package "main" (perhaps you forgot to load "main"?) )
Message ID:
rt-3.0.11-33608-104792.18.19020144542@perl.org
# New Ticket Created by "Sravanth Kumar Nagunuri"
# Please include the string: [perl #33608]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=33608 >
We have ported our application from PERL5.0.1 to PERL5.6.1
We got the following error during execution of our perl script.
----------------------------------------------------------
Can"t locate object method "ToUpper" via package "main" (perhaps you
forgot to load "main"?) at
/d/nmsopt/nokianms/lib/perl5/5.6.1/utf8_heavy.pl line 30, <CONFIG> line
59.. Terminating
-------------------------------------------------------------
We could not find method "ToUpper" in any library of 5.6.1. Basically
the error message says that "main package is not loaded".
We don't have a method "ToUpper" in our Perl code also. How to locate
this method and how to correct this situation?
Please let us know how to over come this situation.
Perl Version: This is perl, v5.6.1 built for PA-RISC2.0
--------------------------------------------------------------------
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux turtola b.11.11 u 9000785 2005532668 unlimited-user
license '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags =' +z -D_HPUX_SOURCE +DAportable +DS2.0
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae',
optimize='-O',
cppflags='+z -D_HPUX_SOURCE -Aa +DAportable +DS2.0'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags ='-L/opt/nokianms/lib -Wl,+vnocompatwarnings
-L/usr/local/lib -L/opt/local/lib'
libpth=/opt/nokianms/lib /lib/pa1.1 /usr/local/lib /opt/local/lib
/lib /usr/lib /usr/ccs/lib
libs=-lcl -lpthread -lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndir
-lcrypt -lsec
perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lc -lndir
-lcrypt -lsec
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred -Wl,+s'
cccdlflags='+z', lddlflags='-b +vnocompatwarnings
-L/opt/nokianms/lib -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Aug 25 2003 21:00:00
%ENV:
PERL5LIB="/opt/nokianms/lib/perllib"
@INC:
/opt/nokianms/lib/perllib
/opt/nokianms/lib/perl5/5.6.1/PA-RISC2.0
/opt/nokianms/lib/perl5/5.6.1
/opt/nokianms/lib/perl5/site_perl/5.6.1/PA-RISC2.0
/opt/nokianms/lib/perl5/site_perl/5.6.1
/opt/nokianms/lib/perl5/site_perl
/opt/nokiaoss/pf3party/perlna/src/wperli/nokianms/lib/perl5/5.6.1
/opt/nokiaoss/pf3party/perlna/src/wperli/nokianms/lib/perl5/5.6.1/PA-RIS
C2.0
------------------------------------------------------------------------
----------------------------------------------
Regards,
Sravanth Kumar Nagunuri
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
Thread Previous