diff options
Diffstat (limited to 'gnu/usr.bin/perl/pod/perllexwarn.pod')
-rw-r--r-- | gnu/usr.bin/perl/pod/perllexwarn.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/pod/perllexwarn.pod b/gnu/usr.bin/perl/pod/perllexwarn.pod index 8ee7fc32483..911de2b72ed 100644 --- a/gnu/usr.bin/perl/pod/perllexwarn.pod +++ b/gnu/usr.bin/perl/pod/perllexwarn.pod @@ -381,9 +381,9 @@ Consider the module C<MyMod::Abc> below. sub open { my $path = shift ; if ($path !~ m#^/#) { - warnings::warn("changing relative path to /tmp/") + warnings::warn("changing relative path to /var/abc") if warnings::enabled(); - $path = "/tmp/$path" ; + $path = "/var/abc/$path"; } } |