Skip to content

Commit

Permalink
Select.pm: Add my to synopsis
Browse files Browse the repository at this point in the history
To scope variables
  • Loading branch information
rwp0 committed Nov 10, 2023
1 parent a254546 commit 890056a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/IO/lib/IO/Select.pm
Expand Up @@ -265,20 +265,20 @@ __END__
=head1 NAME
IO::Select - OO interface to the select system call
IO::Select - OO interface to the C<select> system call
=head1 SYNOPSIS
use IO::Select;
$s = IO::Select->new();
my $s = IO::Select->new();
$s->add(\*STDIN);
$s->add($some_handle);
@ready = $s->can_read($timeout);
my @ready1 = $s->can_read($timeout);
@ready = IO::Select->new(@handles)->can_read(0);
my @ready2 = IO::Select->new(@handles)->can_read(0);
=head1 DESCRIPTION
Expand Down

0 comments on commit 890056a

Please sign in to comment.