Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!amdcad!brahms!dwork From: dwork@brahms.amd.com (Jeff Dwork) Newsgroups: comp.lang.perl Subject: warn doesn't like lists Message-ID: <1991Feb13.220900.14887@amd.com> Date: 13 Feb 91 22:09:00 GMT Sender: usenet@amd.com (NNTP Posting) Organization: Advanced Micro Devices; Sunnyvale, CA Lines: 27 The book/man page say that warn takes a LIST for an argument. But I get: % perl -e 'warn "foo","bar\n"' Warning: something's wrong at /tmp/perl-ea03185 line 1. This works: % perl -e 'warn "foo"."bar\n"' foobar This is on a Sun 4, SunOS 4.1. Perl is: This is perl, version 3.0 $Header: perly.c,v 3.0.1.9 90/11/10 01:53:26 lwall Locked $ Patch level: 41 Also happens on patch level 44. The book is great! Thanks a lot. -- Jeff Dwork | 408-749-2356 | dwork@AMD.COM Advanced Micro Devices, M/S 45 |--------------------------------------- PO Box 3453 | The above opionions are mine, Sunnyvale, Ca 94088 | not AMD's.