in reply to variables with colons

Have you ever queried a modules version? Eg. print $List::Util::VERSION;

Or perhaps modified a modules behaviour by setting a configuration variable? Eg.

$Data::Dumper::Purity = 1

The '::' are being taken as the package name separator token, hence the confusion. Just escape them:

print "$typ\:\:$dat>>\n"

And that problem will go away.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy