in reply to How to solve this using use strict ?

#!/usr/bin/perl -w use strict; my @a = ("A".."Z"); print join "\n", @a;
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

Replies are listed 'Best First'.
Re^2: How to solve this using use strict ?
by omega_monk (Scribe) on Jul 06, 2005 at 16:50 UTC
    I might have just changed the double-quotes to single-quotes to avoid unnecessary interpolation of the vars...
    my @a = ('A'..'Z');
    rather than
    my @a = ("A".."Z");


    Update: I overlooked the post by GrandFather, which mentioned the single quotes. oops.