Skip to content

Commit

Permalink
Add "up to"
Browse files Browse the repository at this point in the history
  • Loading branch information
scottchiefbaker committed Feb 5, 2025
1 parent cca0d39 commit 28bc30f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pod/perlfunc.pod
Original file line number Diff line number Diff line change
Expand Up @@ -9577,10 +9577,10 @@ bytes before the result of the read is appended.
my $buf = "";
my $num = 0;

# Read 64 bytes
# Read up to 64 bytes
$num = sysread($FH, $buf, 64);

# Read 32 bytes into position 512 of $buf
# Read up to 32 bytes into position 512 of $buf
$num = sysread($FH, $buf, 32, 512);

There is no syseof() function, which is ok, since
Expand Down

0 comments on commit 28bc30f

Please sign in to comment.