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

Re: [MacPerl] unknown error question



At 16:38 1999-06-09 -0500, Robert Pollard wrote:
>Hey guys,
>
>Could anyone tell me why the following code produces the following
>error:
>
>CODE:
>#! perl -w
>
>$holdingThing = 'Backup Folder';
>
>ERROR:
># Name "main::holdingThing" used only once: possible typo.
>File 'Untitled #3'; Line 3

Well, it's true - you do only use the name once, and don't
do anything with it. If there's more to the script than
you've shown, including other uses of $holdingThing, then
perhaps this is the only place where it is spelled in exactly
that way; that's what it means by "possible typo". Remember
that case is significant.

Peter.


===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org