in reply to
Re: Beauty is in the eye of the beholder
in thread
Beauty is in the eye of the beholder
;)))
As you might have read, I would have used a hash....
I was trying to find an example of beauty/efficiency
sad enough, that was the best I could come up with ;))
I would have probably used 'eq' instead of the regex too ;)))
GreetZ!,
ChOas
print "profeth still\n" if /bird|devil/;
Comment on
Re: Re: Beauty is in the eye of the beholder
Replies are listed 'Best First'.
Re: Re: Re: Beauty is in the eye of the beholder
by
japhy
(Canon)
on Feb 20, 2001 at 18:22 UTC
Well, an interesting feature of Perl is that by using its data structures, one can often make a structure representing some complex algorithm (like a hash being used to eliminate duplicates).
japhy
--
Perl and Regex Hacker
[reply]
In Section
Meditations