klaasjan stol parrotbugfollowupparrotcodeorg new ticket created klaasjan stol please include string perl 57634 subject line future correspondence issue hi pir use globalconst directive sub define constant globally accessible likewise use const directive sub local sub sub foo globalconst int answer 42 const num pi 314 end answer case globally accessible sub parsed foo subroutine note pi case accessible subroutine foo however question need globalconst const directive also used outside subroutine like const int answer 42 therefore globalconst directive seems superfluous 2 directives thing globalconst accessible globally anyway theres need define within sub therefore proposal remove globalconst directive whenever need global const use const outside subroutine whenever need local const sub use const inside subroutine comments welcome kjs tue 05 aug 2008 104728 0700 perl 57634 rfc remove globalconst pir