Don't ask to ask, just ask | |
PerlMonks |
Re: Difference between $1 and \1.by 2teez (Vicar) |
on Dec 27, 2012 at 12:04 UTC ( [id://1010506]=note: print w/replies, xml ) | Need Help?? |
Checking the perl documentation, one could get glorious insight. So, doing perldoc -v $1 Update I: OR check perlvar from the CLI gives: $<*digits*> ($1, $2, ...):
While \1 :
If you tell me, I'll forget. If you show me, I'll remember. if you involve me, I'll understand. --- Author unknown to me
In Section
Seekers of Perl Wisdom
|
|