We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09016b7 commit 44f2cf4Copy full SHA for 44f2cf4
doc/Language/variables.pod6
@@ -1227,7 +1227,7 @@ to a file is specified under C<"resources"> field in META6.json file:
1227
Every resource file is added to an installed Distribution and is
1228
accessible using a Hash-like access to C<%?RESOURCES>:
1229
1230
-=begin :skip<resources-example>
+=begin code :skip<resources-example>
1231
my $foo-IO = %?RESOURCE<images/foo.jpg>; # gets an object you can slurp
1232
my $foo-IO = %?RESOURCE<images/foo.jpg>.absolute; # gets an absolute path to a file
1233
my $foo-IO = %?RESOURCE<images/foo.jpg>.open; # gets an opened IO::Handle to work with
0 commit comments