SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Syntax-Keyword-Finally rpm build for : openSUSE Tumbleweed. For other distributions click perl-Syntax-Keyword-Finally.

Name : perl-Syntax-Keyword-Finally
Version : 0.03 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.41 Date : 2023-06-07 18:24:22
Group : Unspecified Source RPM : perl-Syntax-Keyword-Finally-0.03-1.41.src.rpm
Size : 0.06 MB
Packager : (none)
Summary : Add C< FINALLY> phaser block syntax to perl
Description :
This module provides a syntax plugin that implements a phaser block that
executes its block when the containing scope has finished. The syntax of
the \'FINALLY\' block looks similar to other phasers in perl (such as
\'BEGIN\'), but the semantics of its execution are different.

The \'defer\' alias is identical in syntax and semantics, just spelled
differently. It is provided as an alternative experiment, in order to look
identical to similar features provided by other languages (Swift, Zig, Jai,
Nim and Odin all provide this). Note that while Go also provides a \'defer\'
keyword, the semantics here are not the same. Go\'s version defers until the
end of the entire function, rather than the closest enclosing scope as is
common to most other languages, and this module.

The operation can be considered a little similar to an \'END\' block, but
with the following key differences:

* A \'FINALLY\' block runs at the time that execution leaves the block it is
declared inside, whereas an \'END\' block runs at the end time of the entire
program regardless of its location.

* A \'FINALLY\' block is invoked at the time its containing scope has finished,
which means it might run again if the block is entered again later in the
program. An \'END\' block will only ever run once.

* A \'FINALLY\' block will only take effect if execution reaches the line it is
declared on; if the line is not reached then nothing happens. An \'END\'
block will always be invoked once declared, regardless of the dynamic
extent of execution at runtime.

\'FINALLY\' blocks are primarily intended for cases such as resource
finalisation tasks that may be conditionally required.

For example in the synopsis code, after normal execution the statement
handle will be finished using the \'$sth->finish\' method, then the database
will be disconnected with \'$dbh->disconnect\'. If instead the prepare method
failed then the database will still be disconnected, but there is no need
to finish with the statement handle as the second \'FINALLY\' block was never
encountered.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-S/openSUSE_Tumbleweed/x86_64

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Syntax-Keyword-Finally-0.03-1.41.x86_64.rpm
     

Provides :
perl(Syntax::Keyword::Defer)
perl(Syntax::Keyword::Finally)
perl-Syntax-Keyword-Finally
perl-Syntax-Keyword-Finally(x86-64)

Requires :
ld-linux-x86-64.so.2()(64bit)
ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
perl(:MODULE_COMPAT_5.36.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/Syntax
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/Syntax/Keyword
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/Syntax/Keyword/Defer.pm
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/Syntax/Keyword/Finally.pm
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/auto/Syntax
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/auto/Syntax/Keyword
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/auto/Syntax/Keyword/Finally
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/auto/Syntax/Keyword/Finally/Finally.bs
/usr/lib/perl5/vendor_perl/5.36.1/x86_64-linux-thread-multi/auto/Syntax/Keyword/Finally/Finally.so
/usr/share/doc/packages/perl-Syntax-Keyword-Finally
/usr/share/doc/packages/perl-Syntax-Keyword-Finally/Changes
/usr/share/doc/packages/perl-Syntax-Keyword-Finally/README
/usr/share/licenses/perl-Syntax-Keyword-Finally
/usr/share/licenses/perl-Syntax-Keyword-Finally/LICENSE
/usr/share/man/man3/Syntax::Keyword::Defer.3pm.gz
/usr/share/man/man3/Syntax::Keyword::Finally.3pm.gz

 
ICM