Also, use the v convention used elsewhere in the same doc.
value in C<ENV> changes the environment for any child processes
you subsequently C<fork()> off.
-As of 5.17.3, both keys and values stored in C<%ENV> are stringified.
+As of v5.18.0, both keys and values stored in C<%ENV> are stringified.
my $foo = 1;
$ENV{'bar'} = \$foo;
if( ref $ENV{'bar'} ) {
- say "Pre 5.17.3 Behaviour";
+ say "Pre 5.18.0 Behaviour";
} else {
- say "Post 5.17.3 Behaviour";
+ say "Post 5.18.0 Behaviour";
}
Previously, only child processes received stringified values: