[Chicago-talk] A bug in 5.8.3?
lembark at wrkhors.com
Tue Mar 30 16:50:50 CST 2004
-- "Randal L. Schwartz" <merlyn at stonehenge.com>
>>>>>> "Jim" == Jim Thomason <jthomasoniii at yahoo.com> writes:
> Jim> I think I found a bug in perl. It's inconsistent, at
> Jim> the very least. Andy? Something to add to a test
> Jim> suite?
> [printf/sprintf prototyping differences noted]
> Known issue. Not necessarily as designed, but not really
> a bug either.
> $ perl -le 'print "(",prototype("CORE::$_"),")" for @ARGV' printf
> sprintf ()
> Note the difference in prototypes.
There are a few other places where using a list vs. collection
of scalars can bite you. If you look up "prototype" on perlguts
or a similar list (e.g., via google) there are examples.
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 888 359 3508
More information about the Chicago-talk