in reply to Re: Another flatfile thingy
in thread Another flatfile thingy
Huh like $_, you REALLY like statement modifiers, don't you? :) Anyway, yeah that looks like lots of fun. I would never ship it out as production code, but still very fun! My favorite line from the above is:
Updated:
On a side note, I got a message from merlyn in the chatterbox pointing out that s/// for, has a great perfomance penalty despite its cool look. Then again, I believe that perlmonkey's idea was to make something funky as well and not be too worried about perfomance issues. Hey, we're all just tossing ideas here, right? Still, merlyn has a very good point that should be noted.
#!/home/bbq/bin/perl
# Trust no1!
Waaaaaay cool! :)s/^\s+|\s+$//g for @headers;
Updated:
On a side note, I got a message from merlyn in the chatterbox pointing out that s/// for, has a great perfomance penalty despite its cool look. Then again, I believe that perlmonkey's idea was to make something funky as well and not be too worried about perfomance issues. Hey, we're all just tossing ideas here, right? Still, merlyn has a very good point that should be noted.
#!/home/bbq/bin/perl
# Trust no1!
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: (bbq) RE: Re: Another flatfile thingy
by perlmonkey (Hermit) on Aug 04, 2000 at 20:44 UTC | |
by BBQ (Curate) on Aug 04, 2000 at 21:12 UTC | |
by btrott (Parson) on Aug 05, 2000 at 00:17 UTC |
In Section
Seekers of Perl Wisdom