Yes, but your hash assignment and scalar constant are wrong.
Any characters can be used in keys, but the scalar constants must be quoted/escaped properly when using one to assign the key.use strict; use warnings; use Data::Dumper; my $hash = {"\"" => 1,':'=>2}; print Dumper($hash);
In reply to Re: quotation mark as key
by huck
in thread quotation mark as key
by ic23oluk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |