Thread View: fj.lang.perl
1 messages
1 total messages
Started by Toshiki Murakami
Wed, 25 Mar 1998 00:00
-wオプションのワーニング解除について
Author: Toshiki Murakami
Date: Wed, 25 Mar 1998 00:00
Date: Wed, 25 Mar 1998 00:00
89 lines
3182 bytes
3182 bytes
こんにちは むらかみ@CSKと申します。 次のプログラムでワーニングの解除ができません。 (本当はもっと大きなプログラムなのですが.....) 実害はないのですが気になってしょうがありません。 ご存知の方教えてください。 Linux 2.0.32 + perl 5.003 ワーニングがでる Solaris 2.5.1 + perl 5.004 ワーニングがでない Solaris 2.5.1 + perl 4.0.1.8 ワーニングがでない ( 【tr関数の正しい使い方を教えてください】のサブジェクトの 方がよかったかなぁ ^^; ) $ ./bbb.pl Use of uninitialized value at ./bbb.pl line 3. Use of uninitialized value at ./bbb.pl line 3. XYZ $ cat bbb.pl #!/usr/bin/perl -w $abc = 'xyz'; $abc =~ tr/a-z/A-Z/ ; print "$abc\n"; $ /usr/bin/perl -v This is perl, version 5.003 with EMBED built under linux at Sep 3 1996 00:55:59 + suidperl security patch Copyright 1987-1996, Larry Wall Japanization patch 4 by Yasushi Saito, 1996 Japanese EUC version. 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 sourcekit. $ uname -a Linux xxx 2.0.32 #2 Tue May 6 18:00:14 JST 1997 i586 ---------------------------- Solarisバイナリのバージョン ---------------------------- $ uname -a SunOS xxx 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-1 $ /usr/local/bin/perl -v This is perl, version 4.0 $RCSfile: perl.c,v $$Revision: 4.0.1.8 $$Date: 1993/02/05 19:39:30 $Patch level: 36 Copyright (c) 1989, 1990, 1991, 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 4.0 sourcekit. $ /usr/bin/perl -v This is perl, version 5.004 Copyright 1987-1997, 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 sourcekit. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ (株)CSKオープンシステム事業部第1営業所 村上 利樹 Toshiki_Murakami@cii.csk.co.jp cte473@dentsu.co.jp HFD01052@nifty.ne.jp _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads