in reply to Re: subroutine help
in thread subroutine help
A few evil examples:
- Ca(OH)2
- CH3CH2CH2CH2CH2CH2CH3
- CH3[CH2]5CH3
- CH3[CH2]nCH3 - not really calculable, but should be parsable
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: subroutine help
by space_monk (Chaplain) on Nov 29, 2012 at 09:13 UTC |
In Section
Seekers of Perl Wisdom