Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972971]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-12-04 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (63 votes). Check out past polls.