in reply to glob & variables

I was just wondering why you didn't think of trying? I often just run perl from the command line and try out a couple of lines of code to see what happens:
C:\>perl $, = ','; $var = 'a'; @test = glob("$var*"); print @test;
It's a nice way to check things before putting it in a bigger script.