Skip to content

Commit 1149bd2

Browse files
committed
requires a use before class is visible
1 parent b3096ca commit 1149bd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/Type/Telemetry/Sampler.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ to use when making a snapshot.
2424
2525
=head2 method new
2626
27+
=for code :preamble<use Telemetry>
2728
method new(Telemetry::Sampler: @instruments --> Telemetry::Sampler:D)
2829
2930
The C<new> method takes a list of instruments. If no instruments are specified,
@@ -40,6 +41,7 @@ the same as C<Telemetry::Instrument::Usage>.
4041
4142
=head2 method set-instruments
4243
44+
=for code :preamble<use Telemetry>
4345
method set-instruments(Telemetry::Sampler:D @instruments --> Nil)
4446
4547
Allows one to change the instruments on an existing C<Instrument::Sampler>

0 commit comments

Comments
 (0)