Monks-
I just ran into this syntax for the first time, and I'm not finding info on it in the docs:
package Foo; my Foo $bar = 42;
(specifically, the "my Foo $bar" bit of it.)
(Update: snipped the irrelevant bit about Invalid SCALAR attribute and made it its own question.)
Explanations are appreciated, but I'm happy to be pointed in the direction of the appropriate pod(s).
Cheers,
Brad
In reply to What does "my Foo $bar" do? by bgreenlee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |