Had sent this to beginners@perl.org earlier but didn't see it in the archive and I'm not sure if this is a perl bug RedHat Linux 7.1 with kernel 2.4.8-ac7 This is perl, v5.6.0 built for i386-linux The following test program #!/usr/bin/perl sub main() { $key = 5 ; print <<"TARGET" ; Foobar Snafu ${\(interp($key))} TARGET } sub interp { my ($arg) = @_ ; print "Hello World, $arg \n" ; return; } main(); gives the following output -- Hello World 5 Foobar Snafu -- I am stumped at this out-of-order execution path, Am I doing something wrong ? Regards, Yusuf -- Yusuf Goolamabbas yusufg@outblaze.comThread Next