|Think about Loose Coupling|
bitwise string operator questionby Anonymous Monk
|on Aug 07, 2003 at 13:48 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I was reading the perlop man page when I saw this.
# ASCII-based examples
print "j p \n" ^ " a h"; # prints "JAPH\n"
print "JA" | " ph\n"; # prints "japh\n"
print "japh\nJunk" & '_____'; # prints "JAPH\n";
print 'p N$' ^ " E<H\n"; # prints "Perl\n";
Can someone please tell me how this works? The man page reports it without much comment. In the first example why is the result all in uppercase etc?