1Syntax::Keyword::FinallUys(e3rpmC)ontributed Perl DocumeSnytnattaixo:n:Keyword::Finally(3pm)
2
3
4

NAME

6       "Syntax::Keyword::Finally" - add "FINALLY" phaser block syntax to perl
7       (REMOVED)
8

SYNOPSIS

10       See instead Syntax::Keyword::Defer.
11
12          use Syntax::Keyword::Defer;
13
14          {
15             my $dbh = DBI->connect( ... ) or die "Cannot connect";
16             defer { $dbh->disconnect; }
17
18             my $sth = $dbh->prepare( ... ) or die "Cannot prepare";
19             defer { $sth->finish; }
20
21             ...
22          }
23

DESCRIPTION

25       This module used to provide a syntax plugin that implements a keyword
26       called "FINALLY". The keyword has now been renamed to "defer".
27
28       You should change any code currently using it, to
29       Syntax::Keyword::Defer instead.
30

AUTHOR

32       Paul Evans <leonerd@leonerd.org.uk>
33
34
35
36perl v5.38.0                      2023-07-21     Syntax::Keyword::Finally(3pm)
Impressum