jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/perl/variable_feature.test
2016-02-03 18:00:01 -05:00

47 lines
542 B
Plaintext

$foo
$#foo
${^POSTMATCH}
$^V
@1
$42
$$
$_
%!
%'foo
$foo'bar
$::::'foo
$foo::'bar
----------------------------------------------------
[
["variable", "$foo"],
["variable", "$#foo"],
["variable", "${^POSTMATCH}"],
["variable", "$^V"],
["variable", "@1"],
["variable", "$42"],
["variable", "$$"],
["variable", "$_"],
["variable", "%!"],
["variable", "%'foo"],
["variable", "$foo'bar"],
["variable", "$::::'foo"],
["variable", "$foo::'bar"]
]
----------------------------------------------------
Checks for variables.