summaryrefslogtreecommitdiff
path: root/testWorkspace
diff options
context:
space:
mode:
authorbscan <10503608+bscan@users.noreply.github.com>2023-01-04 23:51:32 -0500
committerbscan <10503608+bscan@users.noreply.github.com>2023-01-04 23:51:32 -0500
commit34bce782b192ee9596bb4256edf6623733ba56a0 (patch)
tree82e3e0c5f5ebcd9563bbf0c0805e1605b91b924c /testWorkspace
parent7bc374f64ab837a712607368f68645940abb7971 (diff)
downloadPerlNavigator-34bce782b192ee9596bb4256edf6623733ba56a0.zip
Syntax higlighting: feature bundles, defer, state, isa
Diffstat (limited to 'testWorkspace')
-rw-r--r--testWorkspace/MyLib/syntaxTests.pm26
1 files changed, 26 insertions, 0 deletions
diff --git a/testWorkspace/MyLib/syntaxTests.pm b/testWorkspace/MyLib/syntaxTests.pm
new file mode 100644
index 0000000..739218b
--- /dev/null
+++ b/testWorkspace/MyLib/syntaxTests.pm
@@ -0,0 +1,26 @@
+package MyLib::syntaxTests;
+use strict;
+use warnings;
+
+#use feature ":5.10";
+use v5.30;
+use Try::Tiny;
+use Object::Pad;
+
+state $bar;
+class Foo {
+
+}
+
+try {
+
+} catch {
+ # do something
+} finally {
+ # do something
+};
+
+print $bar;
+
+
+1; \ No newline at end of file