[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] -c/-w (was Re: sifting)



On Thu, Apr 13, 2000 at 11:06:20AM -0400, Ronald J Kimball wrote:
> Nonetheless, I don't think upgrading to 5.6.0 on a production system is a
> good idea.

I'll concur with Roland.  Don't upgrade to 5.6.0 yet, wait for 5.6.1
unless there's some *really* pressing need for a new feature.


And for the original question, here's a simple example:

$ perl -cwle '$obj = bless {};  $obj->foo'
-e syntax OK
$ perl -wle '$obj = bless {};  $obj->foo'
Can't locate object method "foo" via package "main" at -e line 1.


-- 

Michael G Schwern      http://www.pobox.com/~schwern/	   schwern@pobox.com
"None of our men are "experts."... because no one ever considers
 himself expert if he really knows his job."  
 -- From Henry Ford Sr., "My Life and Work," p. 86 (1922): 

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe