XP is just a number | |
PerlMonks |
Re: What is the use de-referencing and creating a new anonymous hash in new() and rnew() ?by pobocks (Chaplain) |
on Nov 29, 2008 at 10:15 UTC ( [id://726756]=note: print w/replies, xml ) | Need Help?? |
Maybe I was the only one thick enough to have to take a minute to figure this out, but the '\' there is to prevent interpretation of '::' as the package directory separator, and enforce interpolation of '$class' instead of '$class::Defaults'. Again, you probably all knew that, or realized it from other comments... but it threw me for a 2-second loop.
for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";
In Section
Seekers of Perl Wisdom
|
|