Front page | perl.perl5.porters |
Postings from October 1999
[ID 19991029.002] problem on type globbing on solaris2.6
Thread Previous
|
Thread Next
From:
Hiroya INAKOSHI
Date:
October 29, 1999 01:12
Subject:
[ID 19991029.002] problem on type globbing on solaris2.6
Message ID:
199910290812.RAA13839@nights.lm.fujitsu.co.jp
This is a bug report for perl from inakoshi@nights.lm.fujitsu.co.jp,
generated with the help of perlbug 1.26 running under perl 5.00503.
-----------------------------------------------------------------
[Please enter your report here]
Type globbing doesn't seem work well on solaris2.6 system.
--- Example(foo.pl) START ----
#! /usr/local/bin/perl
sub foo {
local(*_) = @_;
print $_;
}
$s = "subject\n";
foo(\$s);
--- Example(foo.pl) END ----
I expect the result:
---
$ ./foo.pl
subject
$
---
The result really follows:
---
$ ./foo.pl
$
---
I checked on a FreeBSD system, too.
---
$ uname -a
FreeBSD satan.lm.fujitsu.co.jp 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Mon Nov 30 06:34:08 GMT 1998 jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC i386
$ perl -v
This is perl, version 5.005_02 built for i386-freebsd
Copyright 1987-1998, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
$ ./foo.pl
subject
$
---
It seems foo.pl works as I expected.
Regards.
Hiroya INAKOSHI <inakoshi@lm.fujitsu.co.jp>
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl 5.00503:
Configured by inakoshi at Fri Oct 29 14:23:50 JST 1999.
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris-thread
uname='sunos nights 5.6 generic_105181-14 sun4m sparc '
hint=recommended, useposix=true, d_sigaction=define
usethreads=define useperlio=undef d_sfio=undef
Compiler:
cc='gcc', optimize='-O', gccversion=2.7.2.3
cppflags='-D_REENTRANT -I/usr/local/include'
ccflags ='-D_REENTRANT -I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lposix4 -lpthread -lc -lcrypt
libc=/usr/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Locally applied patches:
---
@INC for perl 5.00503:
/usr/local/lib/perl5/5.00503/sun4-solaris-thread
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris-thread
/usr/local/lib/perl5/site_perl/5.005
.
---
Environment for perl 5.00503:
HOME=/home/inakoshi
LANG=ja
LANGUAGE (unset)
LD_LIBRARY_PATH=/usr/local/lib:/usr/ccs/lib:/usr/lib:/usr/ucblib:/usr/openwin/lib:/usr/dt/lib:/opt/qt/lib:/opt/kde/lib::/pub2/oracle/orahome/lib:/home/inakoshi/lib
LOGDIR (unset)
PATH=/usr/local/jdk1.2.1/bin:/usr/local/ssl/bin:/usr/local/bin:/usr/local/mysql/bin:/usr/local/sbin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/ucb:/etc:/usr/openwin/bin:/usr/dt/bin:/opt/qt/bin:/opt/kde/bin::/home/oracle/orahome/bin:/usr/netscape/communicator:/usr/netscape/suitespot/bin/https:/home/inakoshi/bin
PERL_BADLANG (unset)
SHELL=/usr/local/bin/bash
Thread Previous
|
Thread Next