[comp.lang.perl] Bug with warn

dwork@brahms.amd.com (Jeff Dwork) (02/26/91)

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.