Menu

#486 Validity of variabels at code completion

v0.6.x
open
nobody
Core (65)
5
2008-03-18
2008-03-18
No

Hello,

the code completion always shows me all available variabels which are anywhere in my script, also variabels which can't be accessed for example in another sub.

Example:

#!/usr/bin/perl
use warnings;
use strict;

sub foo {
my $local_X = 0;
}

sub bar {
my $local_A = 1;

### If I type now "my $loc" it will show me the
### variabeö $local_A (which is right) AND $local_X,
### but this is wrong, because I can't access it from
### here.

my $local_foo = 2;
}

EPIC should check, if the variabel is valid.

Discussion


Log in to post a comment.