Re: What is the global hash %_ ?
- From: "John W. Krahn" <someone@xxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 23:04:17 GMT
ozarfreo@xxxxxxxxx wrote:
I've seen that %_ is treated as a special variable in Perl, as $_ and
@_ are: no warning is issued when using it without a package name, no
'my' is allowed on that var; the problem is that I could not find it
among Perl's documentation.
I'd like to use it in a program but am not sure whether I might be
interfering with some other intended use for %_ . Can someone point out
what is this variable exactly, and whether it is safe to use it?
If it is not listed in perlvar then perl doesn't care what you do with it.
John
--
use Perl;
program
fulfillment
.
- Follow-Ups:
- Re: What is the global hash %_ ?
- From: Kevin Michael Vail
- Re: What is the global hash %_ ?
- From: ozarfreo
- Re: What is the global hash %_ ?
- References:
- What is the global hash %_ ?
- From: ozarfreo
- What is the global hash %_ ?
- Prev by Date: Re: simulate user activity
- Next by Date: Re: What is the global hash %_ ?
- Previous by thread: What is the global hash %_ ?
- Next by thread: Re: What is the global hash %_ ?
- Index(es):
Relevant Pages
|
|