develooper Front page | perl.beginners | Postings from February 2002

Re: use Strict/use strict (was Re: what have I...)

Thread Previous | Thread Next
Jenda Krynicky
February 6, 2002 14:34
Re: use Strict/use strict (was Re: what have I...)
Message ID:
From: Jeff 'japhy' Pinyan <>
> On Feb 6, John said:
> >#!/usr/bin/perl -w
> >
> >use Strict;
> You are using Windows (sorry).  Please change that line to
>   use strict;
> Because Windows is case-INsensitive, 'use Strict' loads, but
> because Perl is case-sensitive, the effects of are never
> enabled.

I wish perl would issue a warning if it loads the file for module 
"Foo", doesn't find package "Foo", but finds a package "foo".
(That is it finds only a package that differs from the requested only 
in the case.) :-(

This is too easy to fall into ... with less common modules of course.


=========== == ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
					--- me

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About