Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error unreported #7332

Closed
p5pRT opened this issue Jun 3, 2004 · 4 comments
Closed

syntax error unreported #7332

p5pRT opened this issue Jun 3, 2004 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Jun 3, 2004

Migrated from rt.perl.org#30038 (status was 'resolved')

Searchable as RT30038$

@p5pRT
Copy link
Author

p5pRT commented Jun 3, 2004

From salva@vesbot.com

Created by @salva

Create the next files and run ue.pl​:

----- ue.pl ---------------------------------
use ue;

----- ue.pm ---------------------------------
package ue;
 
use strict;
use other foo; # << error​: foo is unquoted
 
# put here as much code as you like
# ...
 
1;
 
----- other.pm ------------------------------
package other;
 
# ...
 
1;
---------------------------------------------
 

all you get back is an error like that​:

  Unknown error
  Compilation failed in require at ue.pl line 2.
  BEGIN failed--compilation aborted at ue.pl line 2.

not very helpfull!!!

Cheers,

  - Salvador.

Perl Info

Flags:
    category=core
    severity=low

Site configuration information for perl v5.8.3:

Configured by salva at Wed Mar 10 11:04:30 CET 2004.

Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.4.25-1-686, archname=i686-linux
    uname='linux cabo 2.4.25-1-686 #1 tue feb 24 10:55:59 est 2004 i686
gnulinux '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g -O0',
    cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.3.3 (Debian)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.8.3:
    /usr/local/perl/perl-5.8.3-debug/lib/5.8.3/i686-linux
    /usr/local/perl/perl-5.8.3-debug/lib/5.8.3
    /usr/local/perl/perl-5.8.3-debug/lib/site_perl/5.8.3/i686-linux
    /usr/local/perl/perl-5.8.3-debug/lib/site_perl/5.8.3
    /usr/local/perl/perl-5.8.3-debug/lib/site_perl
    .


Environment for perl v5.8.3:
    HOME=/home/salva
    LANG=en_GB
    LANGUAGE (unset)
    LC_COLLATE=es_ES
    LC_CTYPE=es_ES
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
   
PATH=/usr/local/perl/perl-5.8.3-debug/bin/:~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/bash


@p5pRT
Copy link
Author

p5pRT commented Jun 5, 2004

From @iabyn

On Thu, Jun 03, 2004 at 07​:31​:32PM -0000, Salvador Fandiño García wrote​:

all you get back is an error like that​:

Unknown error
Compilation failed in require at ue.pl line 2.
BEGIN failed--compilation aborted at ue.pl line 2.

Thanks for the report. This has been fixed in the development version
of Perl (probably by change #19170), and will eventually appear in 5.10.0

--
The Enterprise's efficient long-range scanners detect a temporal vortex
distortion in good time, allowing it to be safely avoided via a minor
course correction.
  -- Things That Never Happen in "Star Trek" #21

@p5pRT
Copy link
Author

p5pRT commented Jun 5, 2004

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jun 5, 2004

@rspier - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant