Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!apple!veritas!amdcad!brahms!dwork From: dwork@brahms.amd.com (Jeff Dwork) Newsgroups: comp.lang.perl Subject: Bug with warn Message-ID: <1991Feb25.212933.11308@amd.com> Date: 25 Feb 91 21:29:33 GMT Sender: usenet@amd.com (NNTP Posting) Organization: Advanced Micro Devices; Sunnyvale, CA Lines: 22 According to the book and the man page, the argument of warn is a list. When I try: perl -e 'warn "foo","bar\n";' I get: Warning: something's wrong at /tmp/perl-ea10890 line 1. However: perl -e 'warn "foobar\n";' Gives: foobar This is patchlevel 44 on SunOs 4.1. (I posted this once before, but I don't think it made it out of here.) -- 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.