in reply to Curly braces variable
B::Deparse shows how perl interprets this code:
The curlies are allowed, but not required. I think is is more usual to use curlies only when referring to a variable, not when declaring it.perl -MO=Deparse -e 'my ${host_mail}="80.80.80.80";' my $host_mail = '80.80.80.80'; -e syntax OK
|
|---|