Append a record to the end of a text file: Difference between revisions

Content deleted Content added
Thundergnat (talk | contribs)
→‎{{header|Perl 6}}: Add a Perl 6 example
Thundergnat (talk | contribs)
m →‎{{header|Perl 6}}: Fix table content
Line 1,784: Line 1,784:
!rowspan=2| Append<BR>Possible
!rowspan=2| Append<BR>Possible
!rowspan=2| Automatic<BR>Append
!rowspan=2| Automatic<BR>Append
!rowspan=2| Multi-tasking<BR>
!rowspan=2| Multi-tasking<BR>Safe
|-
|-
! In core || On disk
! In core || On disk
|-
|-
| Class || Text file || Whichever is provided by<BR>the underlying VM || ☑ || ☑ || Advisory lock<BR>Depends on OS and VM
| Class || Text file || Whichever is provided by<BR>the underlying VM || ☑ || ☑ || Advisory lock<BR>Depends on OS and VM
|}
|}
Note that advisory locks do not prevent some other program (if it doesn't use flock) from unexpectedly writing to the file.
Note that advisory locks do not prevent some other program (if it doesn't use flock) from unexpectedly writing to the file.