I was really surprised to find that this worked. It's actually documented, somewhat, in the explanation of my. Note that my solution was inspired by Ingy's "the" module.use strict; use warnings; package Str; package main; my Str $name = 'David'; print "Hello, my name is $name\n";
In reply to Re: perl 5 suggestions?
by dcmertens
in thread perl 5 suggestions?
by iaw4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |