devel/p5-Scope-Guard 0.21 FreeBSD
Lexically scoped resource management
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 5.5 KiB, 8.5 KiB installed
Description
This module provides a convenient way to perform cleanup or other forms of resource management at the end of a scope. It is particularly useful when dealing with exceptions: the Scope::Guard constructor takes a reference to a subroutine that is guaranteed to be called even if the thread of execution is aborted prematurely. This effectively allows lexically-scoped "promises" to be made that are automatically honoured by perl's garbage collector.
For more info, see: http://www.drdobbs.com/cpp/184403758
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Scope-Guard | 0.21 |
| OpenBSD | devel/p5-Scope-Guard | 0.21p0 |
| NetBSD | devel/p5-Scope-Guard | 0.21nb11 |
| DragonFly | devel/p5-Scope-Guard | 0.21 |
| MidnightBSD | devel/p5-Scope-Guard | 0.21 |
| HardenedBSD | devel/p5-Scope-Guard | 0.21 |
| GhostBSD | devel/p5-Scope-Guard | 0.21 |
Install
Binary package:
pkg install p5-Scope-Guard
From the ports tree:
cd /usr/ports/devel/p5-Scope-Guard/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Scope-Guard>0:devel/p5-Scope-Guard
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.21 | 0.21 | 0.21 | 0.21 | 0.21 |
| FreeBSD:14:quarterly | 0.21 | 0.21 | n/a | 0.21 | 0.21 |
| FreeBSD:15:latest | 0.21 | 0.21 | n/a | 0.21 | 0.21 |
| FreeBSD:15:quarterly | 0.21 | 0.21 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.21 | 0.21 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Required by 99
- databases/p5-AnyEvent-CouchDB
- databases/p5-DBICx-Deploy
- databases/p5-DBICx-MapMaker
- databases/p5-DBICx-Sugar
- databases/p5-DBICx-TxnInsert
- databases/p5-DBIx-Class
- databases/p5-DBIx-Class-AsFdat
- databases/p5-DBIx-Class-AuditLog
- databases/p5-DBIx-Class-BitField
- databases/p5-DBIx-Class-Candy
- databases/p5-DBIx-Class-Cursor-Cached
- databases/p5-DBIx-Class-CustomPrefetch
- databases/p5-DBIx-Class-DateTime-Epoch
- databases/p5-DBIx-Class-DeploymentHandler
- databases/p5-DBIx-Class-DigestColumns
- databases/p5-DBIx-Class-DynamicDefault
- databases/p5-DBIx-Class-DynamicSubclass
- databases/p5-DBIx-Class-EncodeColumns
- databases/p5-DBIx-Class-EncodedColumn
- databases/p5-DBIx-Class-Fixtures
- databases/p5-DBIx-Class-FrozenColumns
- databases/p5-DBIx-Class-Helpers
- databases/p5-DBIx-Class-InflateColumn-Authen-Passphrase
- databases/p5-DBIx-Class-InflateColumn-FS
- databases/p5-DBIx-Class-InflateColumn-IP
- databases/p5-DBIx-Class-InflateColumn-Serializer
- databases/p5-DBIx-Class-IntrospectableM2M
- databases/p5-DBIx-Class-Loader
- databases/p5-DBIx-Class-Migration
- databases/p5-DBIx-Class-PassphraseColumn
- databases/p5-DBIx-Class-QueryLog
- databases/p5-DBIx-Class-QueryProfiler
- databases/p5-DBIx-Class-ResultSet-HashRef
- databases/p5-DBIx-Class-ResultSet-RecursiveUpdate
- databases/p5-DBIx-Class-Schema-Config
- databases/p5-DBIx-Class-Schema-Loader
- databases/p5-DBIx-Class-Storage-TxnEndHook
- databases/p5-DBIx-Class-TimeStamp
- databases/p5-DBIx-Class-Tree
- databases/p5-DBIx-Class-Tree-NestedSet
- databases/p5-DBIx-Class-UUIDColumns
- databases/p5-DBIx-Class-VirtualColumns
- databases/p5-DBIx-Class-WebForm
- databases/p5-DBIx-NoSQL
- databases/p5-Dancer-Plugin-DBIC
- databases/p5-Dancer2-Plugin-DBIC
- databases/p5-Dancer2-Session-DBIC
- databases/p5-HTML-FormHandler-Model-DBIC
- databases/p5-Interchange6-Schema
- devel/p5-B-OPCheck
- devel/p5-Data-Frame
- devel/p5-List-Objects-Types
- devel/p5-List-Objects-WithUtils
- devel/p5-Moose-Autobox
- devel/p5-MooseX-AttributeShortcuts
- devel/p5-MooseX-TraitFor-Meta-Class-BetterAnonClassNames
- devel/p5-MooseX-Util
- devel/p5-Parallel-Prefork
- devel/p5-Test-DBIC-ExpectedQueries
- devel/p5-Test-DBIx-Class
- devel/p5-Test-File-ShareDir
- devel/p5-Test2-Harness
- devel/p5-Test2-Harness-UI
- devel/p5-autobox
- devel/p5-autobox-Core
- devel/p5-autobox-Transform
- devel/p5-self
- mail/p5-Mail-BIMI
- mail/p5-Mail-DMARC
- mail/p5-Mail-Milter-Authentication
- security/p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC
- sysutils/p5-Proclet
- textproc/p5-Plagger
- www/p5-Bigtop
- www/p5-Catalyst-Authentication-Store-DBIx-Class
- www/p5-Catalyst-Model-DBIC-Plain
- www/p5-Catalyst-Model-DBIC-Schema
- www/p5-Catalyst-Plugin-AutoCRUD
- www/p5-Catalyst-Plugin-Session-Store-DBIC
- www/p5-Catalyst-TraitFor-Controller-DBIC-DoesPaging
- www/p5-Gazelle
- www/p5-HTML-FormFu-Model-DBIC
- www/p5-MojoMojo
- www/p5-Monoceros
- www/p5-POE-Component-Server-PSGI
- www/p5-POEx-Role-PSGIServer
- www/p5-RT-Extension-CommandByMail
- www/p5-RT-Extension-Gravatar
- www/p5-RT-Extension-LDAPImport
- www/p5-RT-Extension-MandatoryOnTransition
- www/p5-RT-Extension-RepeatTicket
- www/p5-RT-Extension-RepeatTicket2
- www/p5-RTx-Calendar
- www/p5-Reaction
- www/p5-Starlet
- www/p5-Task-Catalyst
- www/rt44
- www/rt50
- www/rt60
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Scope/Guard.pm
- %%PERL5_MAN3%%/Scope::Guard.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Scope-Guard-0.21.tar.gz | 4377 | 8c9b1bea5c56448e2c3fadc65d05be9e4690a3823a80f39d2f10fdd8f777d278 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.