A
A. Farber
Hi,
I have defined a list of constants in my script:
use constant DEFPLATS => qw(ARMI ARM4 THUMB WINS WINSCW);
But the use of it feels a bit clumsy though -
I have to put it in brackets for the hash slices:
@prj_platforms{(DEFPLATS)} = (1) x length DEFPLATS;
and it doesn't interpolate in strings.
Do you have any advices on that? TIA
Regards
Alex
I have defined a list of constants in my script:
use constant DEFPLATS => qw(ARMI ARM4 THUMB WINS WINSCW);
But the use of it feels a bit clumsy though -
I have to put it in brackets for the hash slices:
@prj_platforms{(DEFPLATS)} = (1) x length DEFPLATS;
and it doesn't interpolate in strings.
Do you have any advices on that? TIA
Regards
Alex