FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Please give me your LTO-4 or better tape library and I'll put it to good use.
Port details
p5-lexical-underscore Access lexical underscore of your caller
0.003_1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 09 Mar 2013 18:19:18
Also Listed In: perl5
License: ART10 GPLv1
Starting with Perl 5.10, it is possible to create a lexical version of the Perl
default variable $_. Certain Perl constructs like the given keyword
automatically use a lexical $_ rather than the global $_.

It is occasionallly useful for a sub to be able to access its caller's $_
variable regardless of whether it was lexical or not. The (_) sub prototype is
the official way to do so, however there are sometimes disadvantages to this; in
particular it can only appear as the final required argument in a prototype, and
there is no way of the sub differentiating between an explicitly passed argument
and $_.

The lexical::underscore function returns a scalar reference to either a lexical
$_ variable somewhere up the call stack (using PadWalker magic), or to the
global $_ if there was no lexical version.

Wrapping lexical::underscore in ${ ... } dereferences the scalar reference,
allowing you to access (and even assign to) it.

WWW: http://search.cpan.org/dist/lexical-underscore/
SVNWeb : Homepage : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. p5-PadWalker>=0 : devel/p5-PadWalker
  2. perl5.18.4 : lang/perl5.18
Runtime dependencies:
  1. p5-PadWalker>=0 : devel/p5-PadWalker
  2. perl5.18.4 : lang/perl5.18

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/devel/p5-lexical-underscore/ && make install clean
To add the package: pkg install devel/p5-lexical-underscore


Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/T/TO/TOBYINK/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/T/TO/TOBYINK/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/T/TO/TOBYINK/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/T/TO/TOBYINK/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/T/TO/TOBYINK/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/authors/id/T/TO/TOBYINK/
  8. http://backpan.perl.org/authors/id/T/TO/TOBYINK/
  9. http://cpan.metacpan.org/authors/id/T/TO/TOBYINK/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/T/TO/TOBYINK/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/T/TO/TOBYINK/
  13. http://www.cpan.dk/authors/id/T/TO/TOBYINK/
  14. http://www.cpan.dk/modules/by-module/
  15. http://www.cpan.org/authors/id/T/TO/TOBYINK/

Number of commits found: 8

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.003_1
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 10:55:59
Original commit files touched by this commit  0.003
Revision:371547
bapt search for other commits by this committer
Cleanup plist
18 Sep 2014 16:40:23
Original commit files touched by this commit  0.003
Revision:368499
sunpoet search for other commits by this committer
- Update to 0.003

Changes:	http://search.cpan.org/dist/lexical-underscore/Changes
11 Sep 2014 15:51:52
Original commit files touched by this commit  0.002
Revision:367949
sunpoet search for other commits by this committer
- Update to 0.002

Changes:	http://search.cpan.org/dist/lexical-underscore/Changes
30 Sep 2013 20:41:25
Original commit files touched by this commit  0.001
Revision:328870
sunpoet search for other commits by this committer
- Support STAGEDIR
20 Sep 2013 17:13:47
Original commit files touched by this commit  0.001
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
21 Aug 2013 14:08:08
Original commit files touched by this commit  0.001
Revision:325134
sunpoet search for other commits by this committer
- Convert to new perl framework
09 Mar 2013 18:18:56
Original commit files touched by this commit  0.001
Revision:313741
sunpoet search for other commits by this committer
- Add p5-lexical-underscore 0.001

Starting with Perl 5.10, it is possible to create a lexical version of the Perl
default variable $_. Certain Perl constructs like the given keyword
automatically use a lexical $_ rather than the global $_.

It is occasionallly useful for a sub to be able to access its caller's $_
variable regardless of whether it was lexical or not. The (_) sub prototype is
the official way to do so, however there are sometimes disadvantages to this; in
particular it can only appear as the final required argument in a prototype, and
there is no way of the sub differentiating between an explicitly passed argument
and $_.

The lexical::underscore function returns a scalar reference to either a lexical
$_ variable somewhere up the call stack (using PadWalker magic), or to the
global $_ if there was no lexical version.

Wrapping lexical::underscore in ${ ... } dereferences the scalar reference,
allowing you to access (and even assign to) it.

WWW: http://search.cpan.org/dist/lexical-underscore/

Number of commits found: 8

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
cups-filtersJul 03
libressl*Jul 03
linux-c6-openssl*Jul 03
mingw32-openssl*Jul 03
openssl*Jul 03
cinepaint*Jul 01
darktable*Jul 01
dcraw*Jul 01
dcraw-m*Jul 01
exact-image*Jul 01
flphoto*Jul 01
freeimage*Jul 01
kodi*Jul 01
libraw*Jul 01
libxml2Jul 01

26 vulnerabilities affecting 52 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24973
Broken 209
Deprecated 48
Ignore 506
Forbidden 1
Restricted 204
No CDROM 94
Vulnerable 31
Expired 1
Set to expire 36
Interactive 0
new 24 hours 12
new 48 hours27
new 7 days81
new fortnight112
new month191

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.