@@ -558,34 +558,6 @@ Everything below this point should be considered as mere ideas for
558
558
future evolution, not as things that a compiler write should implement
559
559
unquestioningly.
560
560
561
- =head1 Other things
562
-
563
- =over 4
564
-
565
- =item * The mode of the file and the uids and gids of the user
566
-
567
- =item * ACLs (access control lists)
568
-
569
- =item * read-only filesystems
570
-
571
- =back
572
-
573
- There may be other reasons you can't actually read, write, or execute
574
- the file. Such reasons may be for example network filesystem access
575
- controls and unrecognized executable formats.
576
-
577
- Also note that, for the superuser on the local filesystems, the C<:r>,
578
- C<:R>, C<:w>, and C<:W> tests always return 1, and C<:x> and C<:X> return 1
579
- if any execute bit is set in the mode. Scripts run by the superuser
580
- may thus need to do a C<stat> to determine the actual mode of the file,
581
- or temporarily set their effective uid to something else.
582
-
583
- You can test multiple features using junctions:
584
-
585
- if $filename.IO ~~ :r & :w & :x {...}
586
-
587
- =back
588
-
589
561
=head2 IO::ACL
590
562
591
563
This is a basic abstraction; for better control, use the operating-system specific
@@ -681,11 +653,11 @@ reader and writer ends of the pipe.
681
653
682
654
=back
683
655
684
- =head1 OS-specific classes
656
+ =head2 OS-specific classes
685
657
686
- =head2 Unix
658
+ =head3 Unix
687
659
688
- =head2 Path::Unix
660
+ =head3 Path::Unix
689
661
690
662
=over
691
663
@@ -756,7 +728,7 @@ to false.
756
728
757
729
=back
758
730
759
- =head2 IO::Socket::Unix
731
+ =head3 IO::Socket::Unix
760
732
761
733
role IO::Socket::Unix does IO::Socket {
762
734
has Str $.RemoteAddr, # Remote Address
@@ -793,7 +765,7 @@ reader and writer ends of the socket.
793
765
=back
794
766
795
767
796
- =head2 IO::POSIX
768
+ =head3 IO::POSIX
797
769
798
770
Indicates that this object can perform standard posix C<IO>
799
771
operations. It implies C<IO::Readable> and C<IO::Writeable>.
0 commit comments