On Wed, Jul 28, 2004 at 09:20:18PM +0300, bzzt wrote: > The followin code doesn't work if I use strict. Is the only solution not to > use strict. > #!/usr/local/bin/perl > use strict; > my $blues; > $a = "blues"; > $blues = "jazz"; > print ${$a}; >
hello you need a backslash. #!/usr/bin/perl use strict; my $a = "blues"; my $blues = "jazz"; print ("${\$a}\n"); The new line is force of habit! This may help. http://perlmonks.thepen.com/strict.pm.html whaity -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>