Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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

by chrestomanci (Priest)
on May 29, 2012 at 09:44 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2016-10-24 12:27 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (305 votes). Check out past polls.