develooper Front page | perl.perl5.porters | Postings from November 1999

[ID 19991126.003] Error from exit in BEGIN {}

Thread Next
M.J.T. Guy
November 26, 1999 08:44
[ID 19991126.003] Error from exit in BEGIN {}
Message ID:
             %perl -we 'BEGIN { exit 1 }'
             Callback called exit at -e line 1.
             BEGIN failed--compilation aborted at -e line 1.

Is the error message appropriate in this case?     The description in
perldiag is somewhat unhelpful:

=item Callback called exit

(F) A subroutine invoked from an external package via perl_call_sv()
exited by calling exit.

Mike Guy

%perl -V
Summary of my perl5 (revision 5.0 version 5 subversion 62) configuration:
    osname=sunos, osvers=4.1.3, archname=sun4-sunos
    uname='sunos nmg1.csi. 4.1.3 1 sun4c '
    config_args='-Doptimise=-O -Uusethreads -des'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
    cc='gcc', optimize='-O', gccversion=
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ucblib
    libs=-ldbm -ldl -lm -lc -lposix
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-assert nodefinitions -L/usr/local/lib'

Characteristics of this binary (from libperl): 
  Locally applied patches:
  Built under sunos
  Compiled at Oct 27 1999 01:31:39

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About