Did you see the name of this site? This is
perlmonks. not awkmonks or shellmonks. There is a difference between perl, awk and the system shell. I suggest you learn that, since all your recent questions show you muddle the terms (and hence create invalid programs).
Maybe you should start here.