What is the global hash %_ ?
- From: ozarfreo@xxxxxxxxx
- Date: 17 Jul 2006 15:31:45 -0700
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?
.
- Follow-Ups:
- Re: What is the global hash %_ ?
- From: Gunnar Hjalmarsson
- Re: What is the global hash %_ ?
- From: John W. Krahn
- Re: What is the global hash %_ ?
- Prev by Date: Re: how match/expose the value in an empty variable having length of 1
- Next by Date: Re: simulate user activity
- Previous by thread: FAQ 2.1 What machines support perl? Where do I get it?
- Next by thread: Re: What is the global hash %_ ?
- Index(es):
Relevant Pages
|