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

I am looking for an LTO tape library. Do you have one to spare?
Commit found by message id
Sat, 9 Mar 2013
[ 18:18:56 sunpoet ] Original commit   Revision:313741
p5-lexical-underscore devel files touched by this commit Access lexical underscore of your caller
head/devel/Makefile
- 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 ports [& non-ports] in this commit: 2

Showing files for just one port: devel/p5-lexical-underscore

show all files

hide all files


5 files found
ActionRevisionLinksFile
import 313741 View revision /ports/head/devel/p5-lexical-underscore
import 313741 View revision /ports/head/devel/p5-lexical-underscore/Makefile
import 313741 View revision /ports/head/devel/p5-lexical-underscore/distinfo
import 313741 View revision /ports/head/devel/p5-lexical-underscore/pkg-descr
import 313741 View revision /ports/head/devel/p5-lexical-underscore/pkg-plist
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
asterisk11Sep 18
squidSep 18
squid33Sep 18
dbusSep 17
nginxSep 16
nginx-develSep 16
phpmyadminSep 13
ossec-hids-clientSep 11
ossec-hids-localSep 11
ossec-hids-serverSep 11
chromiumSep 09
trafficserverSep 05
apache22*Sep 03
apache22-event-mpm*Sep 03
apache22-itk-mpm*Sep 03

8 vulnerabilities affecting 19 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 24094
Broken 121
Deprecated 90
Ignore 385
Forbidden 17
Restricted 203
No CDROM 94
Vulnerable 21
Expired 2
Set to expire 85
Interactive 0
new 24 hours 0
new 48 hours3
new 7 days33
new fortnight70
new month235


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