The $a have any special meanning ?
- From: "sonet" <sonet.all@xxxxxxxxxxxxx>
- Date: Sat, 30 Jun 2007 12:43:13 +0800
1.pl
----------------------
use strict;
$a=1;
the perl does not return error (Global symbol "$a" requires explicit package
name...)
but
2.pl
----------------------
use strict;
$c=1;
the perl return error (Global symbol "$c" requires explicit package name...)
.
- Follow-Ups:
- Re: The $a have any special meanning ?
- From: Thomas Wasell
- Re: The $a have any special meanning ?
- From: Peter Wyzl
- Re: The $a have any special meanning ?
- Prev by Date: Re: Simple fork examples
- Next by Date: FAQ 3.4 How do I find which modules are installed on my system?
- Previous by thread: FAQ 3.13 How can I use curses with Perl?
- Next by thread: Re: The $a have any special meanning ?
- Index(es):
Relevant Pages
|
|