Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Why did @$ variable bite me in the ass?

by QM (Parson)
on Feb 27, 2015 at 17:02 UTC ( [id://1118094]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Why did @$ variable bite me in the ass?
in thread Why did @$ variable bite me in the ass?

In the debugger, removing module-type names (ending with '::'):
DB<1> x \%main:: 0 HASH(0x93a1708) "\cA" => *main:: "\cD" => *main:: "\cE" => *main:: "\cENCODING" => *main::NCODING "\cF" => *main:: "\cH" => *main:: "\cL" => *main:: "\cO" => *main:: "\cP" => *main:: "\cR" => *main:: "\cRE_TRIE_MAXBUF" => *main::E_TRIE_MAXBUF "\cS" => *main:: "\cTAINT" => *main::AINT "\cUNICODE" => *main::NICODE "\cV" => *main:: "\cW" => *main:: "\cWARNING_BITS" => *main::ARNING_BITS "\cX" => *main:: '!' => *main::! '"' => *main::" '$' => *main::$ '%' => *main::% ',' => *main::, '-' => *main::- '.' => *main::. '/' => *main::/ 0 => *main::0 1 => *main::1 2 => *main::2 3 => *main::3 4 => *main::4 ':' => *main::: '<' => *main::< '=' => *main::= '?' => *main::? '@' => *main::@ 'ARGV' => *main::ARGV 'BEGIN' => *main::BEGIN 'DynaLoader::' => *main::DynaLoader:: 'ENV' => *main::ENV 'INC' => *main::INC 'SIG' => *main::SIG 'STDERR' => *main::STDERR 'STDIN' => *main::STDIN 'STDOUT' => *main::STDOUT '\\' => *main::\ ']' => *main::] '^' => *main::^ '_' => *main::_ '_<' => undef 'dumpValue' => *main::dumpValue 'dumpvar' => *main::dumpvar 'stderr' => *main::stderr 'stdin' => *main::stdin 'stdout' => *main::stdout '|' => *main::| '~' => *main::~

So there's quite a lot of interesting stuff in there.

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^5: Why did @$ variable bite me in the ass?
by LanX (Saint) on Feb 27, 2015 at 17:13 UTC
      Watt no $5 .. $9 ? :)

      Yes, I noticed that too. ;)

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of

      use strict; use warnings; $5[$_] = 1 for 0..5; print "@5\n";
        Ehm ... does this demonstrate any diff between @1 and @5 ?

        The results are the same for me.

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)

        PS: Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found