Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: EPIC on Eclipse: doesn't show $_

by chrestomanci (Priest)
on May 29, 2012 at 09:44 UTC ( [id://972971]=note: print w/replies, xml ) Need Help??


in reply to EPIC on Eclipse: doesn't show $_

I just did a test on $_ using:

foreach ( qw(a b c) ) { print $_."\n"; }
  1. It shows up under "Global Variables" not perl internal variables
  2. It only shows up when $_ is in scope, so it disappears once I exit the loop, and if I rewrite the for loop above with a named temporary variable, then it never appears.

I was testing under linux, but with the same version of Eclipse and perl, so it should be comparable to your setup.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found