Searched refs:filetest (Results 1 - 11 of 11) sorted by relevance

/openbsd-current/gnu/usr.bin/perl/lib/
H A Dfiletest.t14 my $error = "filetest: the only implemented subpragma is 'access'.\n";
17 ok( require filetest, 'required pragma successfully' );
20 eval { filetest->import('bad subpragma') };
21 is( $@, $error, 'filetest dies with bad subpragma on import' );
28 use_ok( 'filetest', 'access' );
31 filetest->import('access');
35 filetest->unimport('access');
38 eval { filetest->unimport() };
39 is( $@, $error, 'filetest dies without subpragma on unimport' );
42 eval "no filetest 'fak
[all...]
H A Dfiletest.pm1 package filetest; package
7 filetest - Perl pragma to control the filetest permission operators
13 use filetest 'access'; # intuit harder
20 This pragma tells the compiler to change the behaviour of the filetest
28 For such environments, C<use filetest> may help the permission
31 The C<use filetest> or C<no filetest> statements affect file tests defined in
47 There may be a slight performance decrease in the filetest operations
48 when the filetest pragm
[all...]
H A Doverload.pm20 filetest => "-X",
377 filetest => '-X',
510 filetest operators (C<-f>, C<-x>, and so on: see L<perlfunc/-X> for
512 it is not possible to overload any filetest operator individually.
517 Calling an overloaded filetest operator does not affect the stat value
519 result of the last C<stat>, C<lstat> or unoverloaded filetest.
/openbsd-current/gnu/usr.bin/perl/lib/File/
H A Dstat.pm171 and warnif("File::stat ignores use filetest 'access'");
279 overloading, so you can call filetest operators (C<-f>, C<-x>, and so
328 The filetest operators C<-t>, C<-T> and C<-B> are not implemented, as
341 =item File::stat ignores use filetest 'access'
344 filetest 'access'> in effect. C<File::stat> will ignore the pragma, and
351 filetest operators respect this. The C<File::stat> overloads, however,
H A Dstat.t67 for my $access ('', 'use filetest "access";') {
70 ? "for -$op under use filetest 'access' $desc_tail"
77 } elsif ($w =~ /^File::stat ignores use filetest 'access'/) {
105 # these should all warn with filetest access
/openbsd-current/usr.sbin/adduser/
H A Dadduser.perl1063 sub filetest { subroutine
1373 if (&filetest($message_file, 0)) {
1389 if (&filetest($message_file, 0)) {
1397 if ($send_message eq "no" || !&filetest($message_file, 0)) {
/openbsd-current/gnu/usr.bin/perl/Porting/
H A Dcorelist-perldelta.pl166 my @unclaimedPragmata = qw/arybase attributes blib bytes charnames deprecate diagnostics encoding feature fields filetest inc::latest integer less locale mro open ops overload overloading re sigtrap sort strict subs utf8 vars vmsish/;
H A DMaintainers.pl1464 lib/filetest.{pm,t}
/openbsd-current/gnu/usr.bin/perl/ext/File-Find/lib/File/
H A DFind.pm1054 C<stat()>, C<lstat()>, or filetest.
/openbsd-current/gnu/usr.bin/perl/
H A DMakefile.bsd-wrapper1446 filetest 3p lib/filetest.pm \
/openbsd-current/gnu/usr.bin/perl/ext/B/B/
H A DConcise.pm610 # filetest access, use utf8, unicode_strings feature
1658 X filetest access

Completed in 126 milliseconds