This file is indexed.

/usr/share/doc/libfile-pushd-perl/examples/example.pl is in libfile-pushd-perl 1.014-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/perl
use strict;
use warnings;
use Cwd qw/cwd/;
use File::pushd qw/tempd pushd/;

print "Starting directory:\n  " . cwd() . "\n";

# tempd() is equivalent to pushd( File::Temp::tempdir )
{
    my $tempdir = tempd();
    print "Directory after tempd():\n  " . cwd() . "\n";

    mkdir "new_dir";

    {
        my $new_dir = pushd "new_dir";
        print "Directory after pushd('new_dir'):\n  " . cwd() . "\n";
    }

    print "Directory after pushd object destroyed:\n  " . cwd() . "\n";
}

print "Directory after tempd object destroyed:\n  " . cwd() . "\n";