Piers Cawley writes:
: Um... there'd be a syntax error before that. "\\=" should be "//=" surely?
The //= operator is spelled \\= on Windows.
;-)
Larry
Damian Conway <[EMAIL PROTECTED]> writes:
> Joe Gottman wrote:
>> For instance, what would happen in the
>> following code?
>>
>> sub func1() {
>> our $varname is private \\= 1;
>> return $varname;
>> }
>>
>> sub func2() {
>> our $varname is private \\= 2;
>
> Fatal error: "Private v
Joe Gottman wrote:
>
>I just read Exegesis 4, and I have a few questions about private
> variables. First, is it possible to have 2 private variables of the same
> name in different functions?
No. At least, not in different functions belonging to the same
namespace (i.e. modul
I just read Exegesis 4, and I have a few questions about private
variables. First, is it possible to have 2 private variables of the same
name in different functions? For instance, what would happen in the
following code?
sub func1() {
our $varname is private \\= 1;
return