tachyon has asked for the wisdom of the Perl Monks concerning the following question:

Deconstructing an obfu I came across something like this:

$World = "Perl"; print <Hello $World!>;

What's going on here. We get interpolation of the $World but lose the whitespace? It is not behaving like q qq or qw.

$World = "Perl"; print <Hello $World!>, "\n"; print q<Hello $World!>, "\n"; print qq<Hello $World!>, "\n"; print qw<Hello $World!>, "\n";

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
(tye)Re: Quoting Behaviour
by tye (Sage) on Jul 23, 2001 at 03:55 UTC

    See glob and then look up $, in perlvar.pod.

            - tye (but my friends call me "Tye")

      Thanks tye.

      $World = "Perl"; $, = " tye, you know "; print <Hello $World!>;

      cheers

      tachyon

      s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print