more useful options | |
PerlMonks |
Re: Unidentified codeby Chmrr (Vicar) |
on Oct 22, 2001 at 03:53 UTC ( [id://120415]=note: print w/replies, xml ) | Need Help?? |
Note: Ahbeyra was under the impression that one had to put print inside the code tags. Thus, this question and the next should be considered to be s/print "(.*)\\n"/$1/ Hrm -- an interesting bit of code, there. Taking it apart:
There are quite a few different things going on here. If you're curious about references, this piece by Dominus or perlref might help; "Coping with Scoping" or perlmod educates about the $main::cmdbase_mult bit, while perltoot might be useful for learning about objects. Update: Added links to Dominus's pages, which are a bit more digestable than the plain ole' docs. perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^+*`^ ve^#$&V"+@( NO CARRIER'
In Section
Seekers of Perl Wisdom
|
|