|Perl Monk, Perl Meditation|
Re: How's your Perl?by ambrus (Abbot)
|on Nov 02, 2003 at 16:47 UTC||Need Help??|
I could solve 5 of them.
6. $u="kacsa";$x=\$u;$y="$x";$\=$,=$/;print $x,$y,$$x,$$y,$x eq $y,$$x eq $$y;
7. I can't even make !*$foo true.
UPDATE: read some solutions. So you accept mine for 3 and 4. Quiestion 10 is really trickey.
UPDATE: please someone explain why my solution to 8 works. I don't understand. Thx.
UPDATE: I still don't know how my solution to 8 works, I've found it accidentally, but I see that there's a similar solution using $^N. (And one even with $1, wow!) (The official solution which uses $| is eaasier to understand.)