Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

•Re: Re: Undocumented variable?

by merlyn (Sage)
on Sep 13, 2003 at 13:33 UTC ( [id://291247]=note: print w/replies, xml ) Need Help??


in reply to Re: Undocumented variable?
in thread Undocumented variable?

AFAIK @$ is not a perl global or package variable
Actually, the punctuation variables are always forced into package main for hysterical reasons, and are therefore as global (insensitive to current package, and predecalared) as things that use STDIN, STDOUT, STDERR, ARGV, ARGVOUT, ENV, or INC as part of their name.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: Re: Undocumented variable?
by Dog and Pony (Priest) on Sep 13, 2003 at 14:25 UTC
    ARGVOUT

    This is a new one for me. What/how is that used?

    Update: Never mind, found it. Though I see I already got a reply, thanks! (and downvotes for an honest question, some people are just too funny ;~) Still, was a new one to me... ah well.


    You have moved into a dark place.
    It is pitch black. You are likely to be eaten by a grue.

      From perlvar (5.8.0):
      ARGVOUT

      The special filehandle that points to the currently open output file when doing edit-in-place processing with -i. Useful when you have to do a lot of inserting and don't want to keep modifying $_. See perlrun for the -i switch.

      Note: While it is mentioned in the Perl documentation prior to version 5.8.0, I have yet to see it explained in such a way.

Re: •Re: Re: Undocumented variable?
by Rudif (Hermit) on Sep 13, 2003 at 16:41 UTC
    >> the punctuation variables are always forced into package main for hysterical reasons

    Is that meant as in "behavior exhibiting overwhelming or unmanageable fear or emotional excess", or just a typo?

    :-) Rudif

      this is also hacker jargon, please see the jargon file entry on this. i don't know if this was deliberate, though.

      daniel.
      Thank you. I'm glad I asked.

      Rudif

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://291247]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found