jesuashok has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
what the above code does? I am interested to know the above functionalitymy $pat = {qw(a - b = c ~ d ^)}->{substr($0, 0, 1)};
"Keep pouring your ideas"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Interesting line which I read from Monk's snippets
by Tanktalus (Canon) on Jan 31, 2006 at 04:38 UTC | |
by vennirajan (Friar) on Jan 31, 2006 at 05:16 UTC | |
by jesuashok (Curate) on Jan 31, 2006 at 04:46 UTC | |
Re: Interesting line which I read from Monk's snippets
by gryphon (Abbot) on Jan 31, 2006 at 05:32 UTC | |
by pKai (Priest) on Jan 31, 2006 at 08:30 UTC | |
Re: Interesting line which I read from Monk's snippets
by davidrw (Prior) on Jan 31, 2006 at 04:39 UTC | |
Re: Interesting line which I read from Monk's snippets
by chanio (Priest) on Jan 31, 2006 at 22:50 UTC | |
by liverpole (Monsignor) on Feb 03, 2006 at 12:30 UTC |
Back to
Seekers of Perl Wisdom