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

Re: [FWP] sifting



>>>>> "BJ" == Bill Jones <bill@fccj.org> writes:

  BJ> I thought I had seen this -w versus -c topic discussed with
  BJ> example code in the past, but now I am unable to find it.  Can
  BJ> anyone here provide a clear coding example, especially a DBM or DB
  BJ> example of how Perl can -c but not run correctly - one where -w
  BJ> would have caught the error?


perl -w -e '$foo = $bar ; print $foo, $bar'
Use of uninitialized value at -e line 1.
Use of uninitialized value at -e line 1.
perl -c -e '$foo = $bar ; print $foo, $bar'
-e syntax OK

uri

-- 
Uri Guttman  ---------  uri@sysarch.com  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com

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