On Thu, Apr 13, 2000 at 10:51:03AM -0400, Bill Jones wrote: > Sorry to pester you, but I am in a bit of a jam. What does this have to do with sifting? > I run a smallish WebCT installation and I want to upgrade to Perl 5.6.0, > HOWEVER, the WebCT perl scripts are not ready to run under 5.6.0. > > The WebCT people say that their scripts should be -c compliant, but I tried > to explain that -c doesn't guarantee that the scripts are without runtime > nor logical errors. > > I thought I had seen this -w versus -c topic discussed with example code in > the past, but now I am unable to find it. Can anyone here provide a clear > coding example, especially a DBM or DB example of how Perl can -c but not > run correctly - one where -w would have caught the error? #!perl open(FOO, ">/nonesuch/foo"); print FOO "Hello world!\n"; __END__ With -w: print on closed filehandle main::FOO at - line 2. Nonetheless, I don't think upgrading to 5.6.0 on a production system is a good idea. Ronald ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe