[15954] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 3366 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Jun 15 03:10:35 2000

Date: Thu, 15 Jun 2000 00:10:14 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <961053014-v9-i3366@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Thu, 15 Jun 2000     Volume: 9 Number: 3366

Today's topics:
        Building perl 5.6 on SCO Openserver 5 <ringerc@space.net.au>
    Re: evaluating expressions <godzilla@stomp.stomp.tokyo>
    Re: Extracting Data From a File with Separate Sections (Tad McClellan)
        help with sprint "%..." <tlynch@leading.net>
    Re: help with sprint "%..." (Tad McClellan)
        how to find what modules are available in a server <debjit@oyeindia.com>
    Re: How (David H. Adler)
    Re: Invoking Shell w/ Env. Variable (Tad McClellan)
        Is there a NET::Time call to get remote time. Or someth <robert@chalmers.com.au>
    Re: Is there a NET::Time call to get remote time. Or so (Neil Kandalgaonkar)
    Re: Larry Rosler interview on perl.com! (Abigail)
    Re: Larry Rosler interview on perl.com! (Abigail)
        Please..... <damonNOdaSPAM@unispace.com.invalid>
    Re: push question <iltzu@sci.invalid>
    Re: Quick Network Ping : Can't make Net::Ping work? <nnickee@nnickee.com>
    Re: rmdir in NT 4... (jason)
        Securing script edited data on a public server <cliveNOclSPAM@thesource.org.uk.invalid>
    Re: uses for PERL (Mark Kaehny)
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Thu, 15 Jun 2000 12:18:03 +0800
From: Craig Ringer <ringerc@space.net.au>
Subject: Building perl 5.6 on SCO Openserver 5
Message-Id: <394858FA.413603CA@space.net.au>

    Hi all

This is essentially the same message I posted on comp.unix.sco.misc and
comp.unix.sco.programmer a few days ago but somebody there said you
people might be able to help, so:

Briefly: has anybody got Perl installed on SCO Openserver 5.0.5, with
the DBI and mSQL/mySQL DBD functional? I'm trying to get there and not
having much success.

I've been trying to get the Perl DBI to build so I can interface my perl

scripts with MySQL for CGI databasing work. Alas, I can't get the DBI to

compile when I've got the Skunkware98 perl [a pre-distributed binary
perl]
installed: (it warns of
missing files in perl's CORE directory, suggests I build my own perl).
The Skunkware98 perl works perfectly in all other respects. So I tried
to build perl from source on my system using the Development System's cc

(gcc 2.8.0 didn't want to work). After a few battles, I've got a
successful make, but make test spits out a long string of errors with no

clear pattern to them. (I've included the make test output at the bottom

in case anybody is mad enough to want to read it).
I've had to make the following changes to the Configure defaults to get
a successful make (I have _not_ edited config.sh!):
    Added lib directories /udk/usr/ccs/lib   /udk/usr/lib
    Added /udk/bin, /udk/usr/ccs/bin to $PATH env var so make can find
ld etc

Those are all the changes I've made.
I've never done this before (compiling on UNIX) so I'm probably making
an idiotic mistake that I'd be very glad if some kind person out there
could point out to me...

Here is the make test output, it may shed some light on the situation
for somebody who has done this before (sorry about the huge message):
-----------------------------------------------------------------------------

# make test
        AutoSplitting perl library
 ./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*.pm lib/*/*.pm

        Making DynaLoader (static)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/DynaLoader'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/DynaLoader'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/DynaLoader'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/DynaLoader'

        Making utilities
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/utils'

        Making B (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/B'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/B'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/B'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/B'

        Making ByteLoader (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/ByteLoader'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/ByteLoader'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/ByteLoader'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/ByteLoader'

        Making Data::Dumper (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Data/Dumper'

make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Data/Dumper'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Data/Dumper'

make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Data/Dumper'

        Making Devel::DProf (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Devel/DProf'

make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Devel/DProf'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Devel/DProf'

make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Devel/DProf'

        Making Devel::Peek (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Devel/Peek'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Devel/Peek'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Devel/Peek'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Devel/Peek'

        Making Fcntl (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Fcntl'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Fcntl'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Fcntl'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Fcntl'

        Making File::Glob (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/File/Glob'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/File/Glob'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/File/Glob'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/File/Glob'

        Making IO (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/IO'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/IO'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/IO'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/IO'

        Making IPC::SysV (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/IPC/SysV'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/IPC/SysV'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/IPC/SysV'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/IPC/SysV'

        Making NDBM_File (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/NDBM_File'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/NDBM_File'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/NDBM_File'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/NDBM_File'

        Making ODBM_File (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/ODBM_File'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/ODBM_File'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/ODBM_File'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/ODBM_File'

        Making Opcode (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Opcode'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Opcode'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Opcode'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Opcode'

        Making POSIX (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/POSIX'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/POSIX'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/POSIX'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/POSIX'

        Making SDBM_File (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/SDBM_File'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/SDBM_File'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/SDBM_File'
make[2]: Entering directory
`/u/usr/webadmin/perl-5.6.0/ext/SDBM_File/sdbm'
make[2]: Leaving directory
`/u/usr/webadmin/perl-5.6.0/ext/SDBM_File/sdbm'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/SDBM_File'

        Making Socket (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Socket'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Socket'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Socket'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Socket'

        Making Sys::Hostname (dynamic)
make[1]: Entering directory
`/u/usr/webadmin/perl-5.6.0/ext/Sys/Hostname'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Sys/Hostname'

make[1]: Entering directory
`/u/usr/webadmin/perl-5.6.0/ext/Sys/Hostname'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Sys/Hostname'

        Making Sys::Syslog (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Sys/Syslog'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Sys/Syslog'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Sys/Syslog'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Sys/Syslog'

        Making attrs (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/attrs'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/attrs'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/attrs'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/attrs'

        Making re (dynamic)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/re'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/re'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/re'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/re'

        Making Errno (nonxs)
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Errno'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Errno'
make[1]: Entering directory `/u/usr/webadmin/perl-5.6.0/ext/Errno'
make[1]: Leaving directory `/u/usr/webadmin/perl-5.6.0/ext/Errno'
cd t && (rm -f perl; /bin/ln -s ../perl perl)
if (true </dev/tty) >/dev/null 2>&1; then \
  cd t &&  ./perl TEST </dev/tty; \
else \
  cd t && PERL_SKIP_TTY_TEST=1  ./perl TEST; \
fi
base/cond............ok
base/if..............ok
base/lex.............ok
base/pat.............ok
base/rs..............ok
base/term............ok
comp/bproto..........ok
comp/cmdopt..........ok
comp/colon...........ok
comp/cpp.............ok
comp/decl............ok
comp/multiline.......ok
comp/package.........ok
comp/proto...........ok
comp/redef...........ok
comp/require.........ok
comp/script..........ok
comp/term............ok
comp/use.............ok
cmd/elsif............ok
cmd/for..............ok
cmd/mod..............ok
cmd/subval...........ok
cmd/switch...........ok
cmd/while............ok
io/argv..............ok
io/dup...............ok
io/fs................ok
io/inplace...........ok
io/iprefix...........ok
io/nargv.............ok
io/open..............ok
io/openpid...........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Seekable.pm line 51.
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 51.
Compilation failed in require at ../lib/IO/File.pm line 112.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 112.
Compilation failed in require at ../lib/FileHandle.pm line 9.
Compilation failed in require at io/openpid.t line 20.
BEGIN failed--compilation aborted at io/openpid.t line 20.
FAILED at test 0
io/pipe..............ok
io/print.............ok
io/read..............ok
io/tell..............ok
op/64bitint..........skipping test on this platform
op/append............ok
op/args..............ok
op/arith.............ok
op/array.............ok
op/assignwarn........ok
op/attrs.............ok
op/auto..............ok
op/avhv..............ok
op/bop...............ok
op/chars.............ok
op/chop..............ok
op/closure...........ok
op/cmp...............ok
op/cond..............ok
op/context...........ok
op/defins............Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at op/defins.t line 95.
BEGIN failed--compilation aborted at op/defins.t line 95.
FAILED at test 1
op/delete............ok
op/die...............ok
op/die_exit..........ok
op/do................ok
op/each..............ok
op/eval..............ok
op/exec..............ok
op/exists_sub........ok
op/exp...............ok
op/fh................ok
op/filetest..........dynamic linker: ./perl: symbol not found: seteuid

FAILED at test 0
op/flip..............ok
op/fork..............ok
op/glob..............Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at op/glob.t line 10.
BEGIN failed--compilation aborted at op/glob.t line 10.
FAILED at test 0
op/goto..............ok
op/goto_xs...........skipping test on this platform
op/grent.............ok
op/grep..............ok
op/groups............ok
op/gv................ok
op/hashwarn..........ok
op/inc...............ok
op/index.............ok
op/int...............ok
op/join..............ok
op/lex_assign........Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73, <DATA> line 153.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at (eval 5) line 4, <DATA> line 153.
BEGIN failed--compilation aborted at (eval 5) line 4, <DATA> line 153.
FAILED at test 15
op/lfs...............skipping test on this platform
op/list..............ok
op/local.............ok
op/lop...............ok
op/magic.............ok
op/method............ok
op/misc..............ok
op/mkdir.............ok
op/my................ok
op/nothr5005.........ok
op/numconvert........ok
op/oct...............ok
op/ord...............ok
op/pack..............ok
op/pat...............ok
op/pos...............ok
op/push..............ok
op/pwent.............ok
op/quotemeta.........ok
op/rand..............ok
op/range.............ok
op/read..............ok
op/readdir...........Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at op/readdir.t line 26.
BEGIN failed--compilation aborted at op/readdir.t line 26.
FAILED at test 0
op/recurse...........ok
op/ref...............ok
op/regexp............ok
op/regexp_noamp......ok
op/repeat............ok
op/runlevel..........ok
op/sleep.............ok
op/sort..............ok
op/splice............ok
op/split.............ok
op/sprintf...........ok
op/stat..............dynamic linker: ./perl: symbol not found: seteuid

FAILED at test 9
op/study.............ok
op/subst.............ok
op/subst_amp.........ok
op/subst_wamp........ok
op/substr............ok
op/sysio.............ok
op/taint.............Can't load '../lib/auto/IPC/SysV/SysV.so' for
module IPC::S
ysV: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp at
 ../lib/DynaLoader.pm line 200.
 at ../lib/IPC/SysV.pm line 54
Compilation failed in require at op/taint.t line 28.
BEGIN failed--compilation aborted at op/taint.t line 31.
FAILED at test 0
op/tie...............ok
op/tiearray..........ok
op/tiehandle.........ok
op/time..............ok
op/tr................ok
op/undef.............ok
op/universal.........ok
op/unshift...........ok
op/vec...............ok
op/ver...............ok
op/wantarray.........ok
op/write.............ok
pragma/constant......ok
pragma/diagnostics...ok
pragma/locale........ok
pragma/overload......ok
pragma/strict........Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at pragma/strict.t line 20.
BEGIN failed--compilation aborted at pragma/strict.t line 20.
FAILED at test 0
pragma/sub_lval......ok
pragma/subs..........ok
pragma/utf8..........ok
pragma/warnings......Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at pragma/warnings.t line 25.
BEGIN failed--compilation aborted at pragma/warnings.t line 25.
FAILED at test 0
lib/abbrev...........ok
lib/ansicolor........ok
lib/anydbm...........Can't load '../lib/auto/Fcntl/Fcntl.so' for module
Fcntl: d
ynamic linker: ./perl: relocation error: symbol not found: PL_stack_sp
at ../lib
/XSLoader.pm line 73.
 at ../lib/Fcntl.pm line 220
Compilation failed in require at lib/anydbm.t line 11.
BEGIN failed--compilation aborted at lib/anydbm.t line 11.
FAILED at test 0
lib/attrs............skipping test on this platform
lib/autoloader.......ok
lib/basename.........ok
lib/bigfloat.........ok
lib/bigfltpm.........ok
lib/bigint...........ok
lib/bigintpm.........ok
lib/cgi-form.........ok
lib/cgi-function.....ok
lib/cgi-html.........ok
lib/cgi-request......ok
lib/charnames........ok
lib/checktree........ok
lib/complex..........ok
lib/db-btree.........skipping test on this platform
lib/db-hash..........skipping test on this platform
lib/db-recno.........skipping test on this platform
lib/dirhand..........Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at lib/dirhand.t line 20.
BEGIN failed--compilation aborted at lib/dirhand.t line 20.
FAILED at test 0
lib/dosglob..........ok
lib/dprof............Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at lib/dprof.t line 21.
BEGIN failed--compilation aborted at lib/dprof.t line 21.
FAILED at test 0
lib/dumper-ovl.......Can't load '../lib/auto/Data/Dumper/Dumper.so' for
module D
ata::Dumper: dynamic linker: ./perl: relocation error: symbol not found:

PL_stac
k_sp at ../lib/XSLoader.pm line 73.
 at ../lib/Data/Dumper.pm line 27
Compilation failed in require at lib/dumper-ovl.t line 8.
BEGIN failed--compilation aborted at lib/dumper-ovl.t line 8.
FAILED at test 0
lib/dumper...........Can't load '../lib/auto/Data/Dumper/Dumper.so' for
module D
ata::Dumper: dynamic linker: ./perl: relocation error: symbol not found:

PL_stac
k_sp at ../lib/XSLoader.pm line 73.
 at ../lib/Data/Dumper.pm line 27
Compilation failed in require at lib/dumper.t line 11.
BEGIN failed--compilation aborted at lib/dumper.t line 11.
FAILED at test 0
lib/english..........ok
lib/env-array........ok
lib/env..............ok
lib/errno............ok
lib/fatal............ok
lib/fields...........ok
lib/filecache........ok
lib/filecopy.........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Seekable.pm line 51.
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 51.
Compilation failed in require at ../lib/IO/File.pm line 112.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 112.
Compilation failed in require at lib/filecopy.t line 58.
FAILED at test 6
lib/filefind.........ok
lib/filefunc.........ok
lib/filehand.........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Seekable.pm line 51.
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 51.
Compilation failed in require at ../lib/IO/File.pm line 112.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 112.
Compilation failed in require at ../lib/FileHandle.pm line 9.
Compilation failed in require at lib/filehand.t line 13.
BEGIN failed--compilation aborted at lib/filehand.t line 13.
FAILED at test 0
lib/filepath.........ok
lib/filespec.........ok
lib/findbin..........ok
lib/gdbm.............skipping test on this platform
lib/getopt...........ok
lib/glob-basic.......Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at lib/glob-basic.t line 16.
BEGIN failed--compilation aborted at lib/glob-basic.t line 16.
FAILED at test 1
lib/glob-case........Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at lib/glob-case.t line 16.
BEGIN failed--compilation aborted at lib/glob-case.t line 16.
FAILED at test 1
lib/glob-global......Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at lib/glob-global.t line 30.
BEGIN failed--compilation aborted at lib/glob-global.t line 30.
FAILED at test 1
lib/glob-taint.......Can't load '../lib/auto/File/Glob/Glob.so' for
module File:
:Glob: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp a
t ../lib/XSLoader.pm line 73.
 at ../lib/File/Glob.pm line 94
Compilation failed in require at lib/glob-taint.t line 16.
BEGIN failed--compilation aborted at lib/glob-taint.t line 16.
FAILED at test 1
lib/gol-basic........ok
lib/gol-compat.......ok
lib/gol-linkage......ok
lib/h2ph.............ok
lib/hostname.........Can't load '../lib/auto/Sys/Hostname/Hostname.so'
for modul
e Sys::Hostname: dynamic linker: ./perl: relocation error: symbol not
found: PL_
stack_sp at ../lib/XSLoader.pm line 73.
 at ../lib/Sys/Hostname.pm line 18
Compilation failed in require at lib/hostname.t line 8.
BEGIN failed--compilation aborted at lib/hostname.t line 8.
FAILED at test 0
lib/io_const.........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at lib/io_const.t line 20.
BEGIN failed--compilation aborted at lib/io_const.t line 20.
FAILED at test 0
lib/io_dir...........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Seekable.pm line 51.
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 51.
Compilation failed in require at ../lib/IO/File.pm line 112.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 112.
Compilation failed in require at ../lib/IO/Dir.pm line 15.
BEGIN failed--compilation aborted at ../lib/IO/Dir.pm line 15.
Compilation failed in require at lib/io_dir.t line 18.
BEGIN failed--compilation aborted at lib/io_dir.t line 18.
FAILED at test 0
lib/io_dup...........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at lib/io_dup.t line 21.
BEGIN failed--compilation aborted at lib/io_dup.t line 21.
FAILED at test 0
lib/io_linenum.......Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Seekable.pm line 51.
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 51.
Compilation failed in require at ../lib/IO/File.pm line 112.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 112.
Compilation failed in require at ../lib/FileHandle.pm line 9.
Compilation failed in require at ../lib/Test/Harness.pm line 7.
BEGIN failed--compilation aborted at ../lib/Test/Harness.pm line 7.
Compilation failed in require at ../lib/Test.pm line 4.
BEGIN failed--compilation aborted at ../lib/Test.pm line 4.
Compilation failed in require at lib/io_linenum.t line 20.
BEGIN failed--compilation aborted at lib/io_linenum.t line 20.
FAILED at test 0
lib/io_multihomed....Can't load '../lib/auto/Socket/Socket.so' for
module Socket
: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp at ../
lib/XSLoader.pm line 73.
 at ../lib/Socket.pm line 450
Compilation failed in require at lib/io_multihomed.t line 40.
BEGIN failed--compilation aborted at lib/io_multihomed.t line 40.
FAILED at test 0
lib/io_pipe..........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Pipe.pm line 11.
BEGIN failed--compilation aborted at ../lib/IO/Pipe.pm line 11.
Compilation failed in require at lib/io_pipe.t line 29.
BEGIN failed--compilation aborted at lib/io_pipe.t line 29.
FAILED at test 0
lib/io_poll..........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at lib/io_poll.t line 20.
BEGIN failed--compilation aborted at lib/io_poll.t line 20.
FAILED at test 0
lib/io_sel...........ok
lib/io_sock..........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Socket.pm line 11.
BEGIN failed--compilation aborted at ../lib/IO/Socket.pm line 11.
Compilation failed in require at lib/io_sock.t line 35.
BEGIN failed--compilation aborted at lib/io_sock.t line 35.
FAILED at test 0
lib/io_taint.........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Seekable.pm line 51.
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 51.
Compilation failed in require at ../lib/IO/File.pm line 112.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 112.
Compilation failed in require at lib/io_taint.t line 24.
BEGIN failed--compilation aborted at lib/io_taint.t line 24.
FAILED at test 0
lib/io_tell..........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Seekable.pm line 51.
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 51.
Compilation failed in require at ../lib/IO/File.pm line 112.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 112.
Compilation failed in require at lib/io_tell.t line 27.
BEGIN failed--compilation aborted at lib/io_tell.t line 27.
FAILED at test 0
lib/io_udp...........Can't load '../lib/auto/Socket/Socket.so' for
module Socket
: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp at ../
lib/XSLoader.pm line 73.
 at ../lib/Socket.pm line 450
Compilation failed in require at lib/io_udp.t line 57.
BEGIN failed--compilation aborted at lib/io_udp.t line 57.
FAILED at test 0
lib/io_unix..........Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Socket.pm line 11.
BEGIN failed--compilation aborted at ../lib/IO/Socket.pm line 11.
Compilation failed in require at lib/io_unix.t line 55.
BEGIN failed--compilation aborted at lib/io_unix.t line 55.
FAILED at test 0
lib/io_xs............Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at ../lib/IO/Seekable.pm line 51.
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 51.
Compilation failed in require at ../lib/IO/File.pm line 112.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 112.
Compilation failed in require at lib/io_xs.t line 21.
BEGIN failed--compilation aborted at lib/io_xs.t line 21.
FAILED at test 0
lib/ipc_sysv.........Can't load '../lib/auto/IPC/SysV/SysV.so' for
module IPC::S
ysV: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp at
 ../lib/DynaLoader.pm line 200.
 at ../lib/IPC/SysV.pm line 54
Compilation failed in require at lib/ipc_sysv.t line 26.
BEGIN failed--compilation aborted at lib/ipc_sysv.t line 26.
FAILED at test 0
lib/ndbm.............Can't load '../lib/auto/Fcntl/Fcntl.so' for module
Fcntl: d
ynamic linker: ./perl: relocation error: symbol not found: PL_stack_sp
at ../lib
/XSLoader.pm line 73.
 at ../lib/Fcntl.pm line 220
Compilation failed in require at lib/ndbm.t line 17.
BEGIN failed--compilation aborted at lib/ndbm.t line 17.
FAILED at test 0
lib/odbm.............Can't load '../lib/auto/Fcntl/Fcntl.so' for module
Fcntl: d
ynamic linker: ./perl: relocation error: symbol not found: PL_stack_sp
at ../lib
/XSLoader.pm line 73.
 at ../lib/Fcntl.pm line 220
Compilation failed in require at lib/odbm.t line 17.
BEGIN failed--compilation aborted at lib/odbm.t line 17.
FAILED at test 0
lib/opcode...........Can't load '../lib/auto/Opcode/Opcode.so' for
module Opcode
: dynamic linker: ./perl: relocation error: symbol not found: PL_maxo at

 ../lib/
XSLoader.pm line 73.
 at ../lib/Opcode.pm line 31
Compilation failed in require at lib/opcode.t line 19.
BEGIN failed--compilation aborted at lib/opcode.t line 19.
FAILED at test 0
lib/open2............Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at lib/open2.t line 19.
BEGIN failed--compilation aborted at lib/open2.t line 19.
FAILED at test 0
lib/open3............Can't load '../lib/auto/IO/IO.so' for module IO:
dynamic li
nker: ./perl: relocation error: symbol not found: PL_stack_sp at
 ../lib/XSLoader
 .pm line 73.
 at ../lib/IO.pm line 9
Compilation failed in require at ../lib/IO/Handle.pm line 241.
BEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 241.
Compilation failed in require at lib/open3.t line 19.
BEGIN failed--compilation aborted at lib/open3.t line 19.
FAILED at test 0
lib/ops..............FAILED at test 1
lib/parsewords.......ok
lib/ph...............ok
lib/posix............Can't load '../lib/auto/POSIX/POSIX.so' for module
POSIX: d
ynamic linker: ./perl: relocation error: symbol not found: PL_stack_sp
at ../lib
/XSLoader.pm line 73.
 at ../lib/POSIX.pm line 24
Compilation failed in require at lib/posix.t line 13.
BEGIN failed--compilation aborted at lib/posix.t line 13.
FAILED at test 0
lib/safe1............Can't load '../lib/auto/Opcode/Opcode.so' for
module Opcode
: dynamic linker: ./perl: relocation error: symbol not found: PL_maxo at

 ../lib/
XSLoader.pm line 73.
 at ../lib/Opcode.pm line 31
Compilation failed in require at lib/safe1.t line 21.
BEGIN failed--compilation aborted at lib/safe1.t line 21.
FAILED at test 0
lib/safe2............Can't load '../lib/auto/Opcode/Opcode.so' for
module Opcode
: dynamic linker: ./perl: relocation error: symbol not found: PL_maxo at

 ../lib/
XSLoader.pm line 73.
 at ../lib/Opcode.pm line 31
Compilation failed in require at lib/safe2.t line 22.
BEGIN failed--compilation aborted at lib/safe2.t line 22.
FAILED at test 0
lib/sdbm.............Can't load '../lib/auto/Fcntl/Fcntl.so' for module
Fcntl: d
ynamic linker: ./perl: relocation error: symbol not found: PL_stack_sp
at ../lib
/XSLoader.pm line 73.
 at ../lib/Fcntl.pm line 220
Compilation failed in require at lib/sdbm.t line 16.
BEGIN failed--compilation aborted at lib/sdbm.t line 16.
FAILED at test 0
lib/searchdict.......ok
lib/selectsaver......ok
lib/socket...........Can't load '../lib/auto/Socket/Socket.so' for
module Socket
: dynamic linker: ./perl: relocation error: symbol not found:
PL_stack_sp at ../
lib/XSLoader.pm line 73.
 at ../lib/Socket.pm line 450
Compilation failed in require at lib/socket.t line 14.
BEGIN failed--compilation aborted at lib/socket.t line 14.
FAILED at test 0
lib/soundex..........ok
lib/symbol...........ok
lib/syslfs...........skipping test on this platform
lib/textfill.........ok
lib/texttabs.........ok
lib/textwrap.........ok
lib/thr5005..........skipping test on this platform
lib/tie-push.........ok
lib/tie-stdarray.....ok
lib/tie-stdhandle....ok
lib/tie-stdpush......ok
lib/timelocal........ok
lib/trig.............ok
Failed 47 test scripts out of 188, 75.00% okay.
   ### Since not all tests were successful, you may want to run some
   ### of them individually and examine any diagnostic messages they
   ### produce.  See the INSTALL document's section on "make test".
   ### If you are testing the compiler, then ignore this message
   ### and run
   ###      ./perl harness
   ### in the directory ./t.
u=2.91  s=1.51  cu=159.98  cs=20.02  scripts=188  tests=10092
make: *** [test] Error 1







------------------------------

Date: Wed, 14 Jun 2000 23:23:07 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: evaluating expressions
Message-Id: <3948764B.655CB635@stomp.stomp.tokyo>

"R.Roe" wrote:

> Thanks Dan. eval $w answers my question 
> (unlike Godzilla's FOUR solutions!)



Hey. No problem. A girl like me always
enjoys putting out time and effort
for a well mannered, well spoken and
appreciative gentleman. You are more
than welcome.





Friggin' knuckle dragging pea brained
hairy backed slope headed testosterone
poisoned impotent Neandertal.

Godzilla!


------------------------------

Date: Wed, 14 Jun 2000 20:59:07 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Extracting Data From a File with Separate Sections
Message-Id: <slrn8kgair.570.tadmc@magna.metronet.com>

On Wed, 14 Jun 2000 20:18:55 -0400, Jim Shepherd <jimshep@mindspring.com> wrote:

>This code snippet may not be correct, since I have typed in it manually
                                                    ^^^^^^^^^^^^^^^^^^^^

Why?



Why would people waste their time troubleshooting code that does
not really exist?

You must have the program text somewhere. FTP it to the machine
where you read news and include it in your posting.


>and I do not have Perl on this machine to test it for typos and such


Perl is free. Download and install it.


[ snip a bunch of unread code ]



You should probably be using a hash data structure.

If you post real code, I will read it.


-- 
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


------------------------------

Date: Thu, 15 Jun 2000 00:06:32 -0400
From: "tlynch" <tlynch@leading.net>
Subject: help with sprint "%..."
Message-Id: <cCY15.862$ai.53392@news1.atlantic.net>

This is a little code from my assembler.

It is looking for a '+' in a string.

If there is a '+', I need to reserve 6 bytes for the memory address.  If
not, I reserve 4 bytes.

Here is my code (not particularly elegant, I know)



      if ($Operand1 =~ /^\+/)
         { $Width =  6 } else { $Width = 4 }  #set up a width variable, but
how do I use it?

# Besides the '+', I also have to determine if the I know the memory
address.
# This 'if' figures this out
# It doesn't handle the '+' problem
# I'm hoping there is a way to substitute $Width into the sprintf statement

      if (exists ($Symtab{$Operand1}))     # if the operand is in the symbol
table


         $Operand_address = sprintf "%04X", $Symtab{$Operand1};
         }
      else                                 # if the operand is not in the
symbol table


         $Operand_address = sprintf "%04X", 0;
         }



Thanks,

-tl




------------------------------

Date: Thu, 15 Jun 2000 00:12:29 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: help with sprint "%..."
Message-Id: <slrn8kgltd.5m7.tadmc@magna.metronet.com>

On Thu, 15 Jun 2000 00:06:32 -0400, tlynch <tlynch@leading.net> wrote:

>         { $Width =  6 } else { $Width = 4 }  #set up a width variable, but
>how do I use it?


Delimit the variable name with {curly braces}


># I'm hoping there is a way to substitute $Width into the sprintf statement

>         $Operand_address = sprintf "%04X", $Symtab{$Operand1};

   $Operand_address = sprintf "%0${Width}X", $Symtab{$Operand1};

-- 
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


------------------------------

Date: Thu, 15 Jun 2000 11:03:57 +0530
From: "Debjit" <debjit@oyeindia.com>
Subject: how to find what modules are available in a server
Message-Id: <8iausi$3d3$1@news.vsnl.net.in>

how to find what modules are available in a server? Like CGI, DBI, IO etc
thanks




------------------------------

Date: 15 Jun 2000 06:58:00 GMT
From: dha@panix.com (David H. Adler)
Subject: Re: How
Message-Id: <slrn8kgvjo.a82.dha@panix2.panix.com>

On Wed, 14 Jun 2000 19:22:52 GMT, EnderW <ender29@my-deja.com> wrote:
[well, nothing, actually]

 ...now brown cow.

-- 
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
M-x induce-carpal-tunnel-syndrome
    - Greg Bacon


------------------------------

Date: Wed, 14 Jun 2000 20:55:28 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Invoking Shell w/ Env. Variable
Message-Id: <slrn8kgac0.570.tadmc@magna.metronet.com>

On Wed, 14 Jun 2000 17:20:42 -0700, mlewis <michaellewisNOmiSPAM@yahoo.com.invalid> wrote:

>When creating a script that invokes a shell the first
>line of the file should contain a #! command in csh.
                                              ^^^^^^

There is the root cause of your misunderstanding.

shebang lines are done by the _kernel_, not the shell.


>My question is... how can I pass an environment
>variable to this command in order to invoke a soft
>path.


The kernel does not know about "environment variables" or "paths", 
only the shell knows of such things.

That is why you need an absolute path in the shebang line.


You have a Unix question rather than a Perl question.


-- 
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


------------------------------

Date: Thu, 15 Jun 2000 14:59:03 +1000
From: "Robert Chalmers" <robert@chalmers.com.au>
Subject: Is there a NET::Time call to get remote time. Or something like that
Message-Id: <anZ15.23$1x4.1433@nsw.nnrp.telstra.net>

Is there a call to retrieve the time from a system (port 13 I think) - Maybe
in NET or something like that. I can't find anyting, but that doesn't mean
anyting.

thanks
Robert




------------------------------

Date: 15 Jun 2000 06:01:53 GMT
From: nj_kanda@alcor.concordia.ca (Neil Kandalgaonkar)
Subject: Re: Is there a NET::Time call to get remote time. Or something like that
Message-Id: <8i9rgh$o5f$1@newsflash.concordia.ca>

In article <anZ15.23$1x4.1433@nsw.nnrp.telstra.net>,
Robert Chalmers <robert@chalmers.com.au> wrote:
>Is there a call to retrieve the time from a system (port 13 I think) - Maybe
>in NET or something like that. I can't find anyting, but that doesn't mean
>anyting.

You're thinking of Network Time Protocol (NTP), on port 123.

I don't know of anything perlish to handle NTP. Typically you use ntpd
to getting the whole system in sync rather than just a user program. 
Assuming we're talking unix.

-- 
Neil Kandalgaonkar
neil@brevity.org


------------------------------

Date: 15 Jun 2000 02:44:19 EDT
From: abigail@delanet.com (Abigail)
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <slrn8kgvsc.ie6.abigail@alexandra.delanet.com>

Bart Lateur (bart.lateur@skynet.be) wrote on MMCDLXXVIII September
MCMXCIII in <URL:news:39464fd3.210747@news.skynet.be>:
 .. Drew Simonis wrote:
 .. 
 .. >The perldocs are MASSIVE.  While they may be somewhat technically 
 .. >complicated (perlxstut... ugh) they are topical and accurate.  So I 
 .. >ask again... is it the format of the documentation or the content 
 .. >that you speak against?
 .. 
 .. I distinctly remember having had difficulty ploughing through the docs,
 .. as a relative newbie, several years ago. It's not the style. The style
 .. is good. It's the threshold. It's like having to climb through a window.
 .. If you're not familiar enough with perl, the stuff is just too new, too
 .. technical, to be very readable.


I had no problems at all learning to program Perl from the manuals.
And that was about 5 years ago, when the manuals where smaller than
they are now.

But one must realize that the Perl manuals are manuals for a specific
language. They aren't an introduction to programmers textbook. (And
nor is any Perl book I've seen).



Abigail
-- 
perl -Mstrict -we '$_ = "goto S.print chop;\n=rekcaH lreP rehtona tsuJ";S1:eval'


------------------------------

Date: 15 Jun 2000 02:53:08 EDT
From: abigail@delanet.com (Abigail)
Subject: Re: Larry Rosler interview on perl.com!
Message-Id: <slrn8kh0ct.ie6.abigail@alexandra.delanet.com>

Drew Simonis (care227@attglobal.net) wrote on MMCDLXXVIII September
MCMXCIII in <URL:news:39464027.196736AD@attglobal.net>:
\\ Henry wrote:
\\ > 
\\ > Microsoft's introduction of proprietary extensions has _crippled_ the
\\ > web.  Internet Exploiter has probably set us back 4 years in the paltry
\\ > 5 years that it has been in Microsoft's hands.  We'd be cruising the web
\\ > with 2004 tech if it hadn't been for those bloody extensions.

While Microsoft can be blamed for a lot, they cannot be blamed for the
"crippling" of the web. Remember that Bill Gates initialized missed the
Internet bandwagon completely.

Mark Andreesen and his 40 robbers had crippled the web with the
"extensions" in Netscape before Microsoft introduced Internet Explorer.

Netscape wanted to be big, so it played the role that is traditionally
assigned to Microsoft. 


Abigail
-- 
perl -we 'print q{print q{print q{print q{print q{print q{print q{print q{print 
               qq{Just Another Perl Hacker\n}}}}}}}}}'    |\
perl -w | perl -w | perl -w | perl -w | perl -w | perl -w | perl -w | perl -w


------------------------------

Date: Wed, 14 Jun 2000 21:19:39 -0700
From: damonr <damonNOdaSPAM@unispace.com.invalid>
Subject: Please.....
Message-Id: <015f42ee.ea1d4102@usw-ex0106-045.remarq.com>

Hi,

I am running a new site(http://www.devcritic.com) and i was
wondering if you people knew some good Perl resource sites that
i could add to the Perl part of the site directory:
http://www.devcritic.com/sites/Perl/. Feel free to add any sites
by clicking "Add a site" on the side menu or tell me here and i
will add em to there.

Thanks in advance.


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!



------------------------------

Date: 15 Jun 2000 04:34:02 GMT
From: Ilmari Karonen <iltzu@sci.invalid>
Subject: Re: push question
Message-Id: <961043015.16536@itz.pp.sci.fi>

In article <8i8r4l$oq1$1@brokaw.wa.com>, Lauren Smith wrote:
><law_40@hotmail.com> wrote in message news:8i8pfu$ekp$1@nnrp1.deja.com...
>> I have an array $array="1 2 3 4 5 6";
>
>That is not an array.  It is a scalar that contains the string "1 2 3 4 5
>6".

Okay, I've been way too long without sleep, and just couldn't resist:

  # -*- perl -*-
  package ScalarArray;
  use strict;
  use base qw/Tie::Array/;

  # Usage: tie @array, ScalarArray, $array;

  sub TIEARRAY { bless \$_[1], $_[0] }

  sub FETCH { (split ' ' => $ {$_[0]})[$_[1]] }
  sub FETCHSIZE { scalar split ' ' => ${$_[0]} }

  sub STORE {
      my @a = split ' ' => $ {$_[0]};
      @a[$_[1]] = $_[2];
      $ {$_[0]} = join ' ' => @a;
  }
  sub STORESIZE {
      my @a = split ' ' => $ {$_[0]};
      splice @a, $_[1];
      $ {$_[0]} = join ' ' => @a;
  }

  1;
  __END__

The use of a temporary array in STORE.* is a bit ugly, but I couldn't
think of a more elegant solution right now.  Besides, the whole thing
is completely and fundamentally insane anyway..

-- 
Ilmari Karonen - http://www.sci.fi/~iltzu/
Please ignore Godzilla and its pseudonyms - do not feed the troll.



------------------------------

Date: Wed, 14 Jun 2000 17:46:24 -0500
From: Nnickee <nnickee@nnickee.com>
Subject: Re: Quick Network Ping : Can't make Net::Ping work?
Message-Id: <1E86F76E3F3EF0E0.DC83D41404A882CA.76B8DEED6DB51095@lp.airnews.net>

On Wed, 14 Jun 2000 09:51:40 -0700, someone claiming to be Tom Phoenix
<rootbeer@redcat.com> said:

>On Wed, 14 Jun 2000, Robert Chalmers wrote:

>> I tried the code example here on the cpan site, but can't get it to do
>> anything?

>> use Net::Ping;
 
>> 
>>     $p = Net::Ping->new();
>>     print "$host is alive.\n" if $p->ping($host);

>Perhaps you forgot to set $host? Is it really that simple?

Nope, I tried it here too, and had $host = '127.0.0.1' and it wouldn't
work.

The only example (from the docs) that would work for me was...

use Net::Ping;
$host = '127.0.0.1';

$p = Net::Ping->new("icmp"); 
print "$host is "; 
print "NOT " unless $p->ping($host, 2); 
print "reachable.\n"; 
$p->close(); 





------------------------------

Date: Thu, 15 Jun 2000 06:25:43 GMT
From: elephant@squirrelgroup.com (jason)
Subject: Re: rmdir in NT 4...
Message-Id: <MPG.13b3141b35ede7a4989737@news>

Steve Allan writes ..
>If your aim is to delete a directory and all its contents, you might
>look at rmtree() which is in File::Path.  It provides a portable means
>of getting 'rm -r dir' or 'rd /s/q dir' type behavior.

excellent .. thanks for posting that

-- 
 jason - elephant@squirrelgroup.com -


------------------------------

Date: Wed, 14 Jun 2000 23:33:48 -0700
From: cLive ;-) <cliveNOclSPAM@thesource.org.uk.invalid>
Subject: Securing script edited data on a public server
Message-Id: <0168a1c1.19049afc@usw-ex0109-069.remarq.com>

Hi

If I host some scripts on a public server that require a
data file with permission of 777 to exist so that the
script can update the data, what is to stop another user on
the server from editing the data using their own script?

Ie, say it was a well known piece of freeware, the source
is known and it would be easy for a malicious user to guess
the path to the data file, how can I protect my data?

I vaguely remember something about setting the effective
user id(?) of the script to run as user rather than nobody,
and then setting data file permissions to 700 to stop
everyone else from reading the data.

How close to the mark am I?

any thoughts/links etc appreciated

Thanks

cLive ;-)


* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful


------------------------------

Date: 14 Jun 2000 23:02:21 -0500
From: kaehny@earth.execpc.com (Mark Kaehny)
Subject: Re: uses for PERL
Message-Id: <3948554e$0$1493$726baab@news.execpc.com>

In article <slrn8k73dh.513.tadmc@magna.metronet.com>,
Tad McClellan <tadmc@metronet.com> wrote:
>On Sat, 10 Jun 2000 11:54:18 -0500, david <djhill@ameritech.net> wrote:
>>What other uses are there for PERL
>>besides creating websites?
>
>Perl (not PERL) existed for years before the WWW was
>even invented!
>I've used Perl everyday for several years. I've never written
>a CGI program.

I asked everyone I met on the Perl Whirl what was the LAST program or
piece of code you wrote in perl and what was it for and < 1% were cgi or
web related. This included Sarathy, Larry, Tom C. Randall, MJD, Andreas
Koenig, etc. I thought it was quite a statement, but perhaps says more
about the people on the trip.

Mark Kaehny



------------------------------

Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 16 Sep 99)
Message-Id: <null>


Administrivia:

The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc.  For subscription or unsubscription requests, send
the single line:

	subscribe perl-users
or:
	unsubscribe perl-users

to almanac@ruby.oce.orst.edu.  

| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.

For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V9 Issue 3366
**************************************


home help back first fref pref prev next nref lref last post