Click here to get back home

Re: A little Direction Please

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Re: A little Direction Please Ben Morrow 05-13-2008
Posted by Ben Morrow on May 13, 2008, 6:53 pm
Please log in for more thread options

> Ben Morrow wrote:
> >
> > while (my $line = <$INPUT>) {
<snip>
> > my %record;
> > @record = split / /, $line;
> >
> > $record == 226
> > and $record == 0
> > and $record eq '-'
>
> Because you are using "split / /, $line" $record will probably
> contain "-\n" instead of '-'.

Good point. I'm too used to -l :)

Ben

--
"Faith has you at a disadvantage, Buffy."
"'Cause I'm not crazy, or 'cause I don't kill people?"
"Both, actually."
[ben@morrow.me.uk]

Similar ThreadsPosted
Re: A little Direction Please May 13, 2008, 1:20 pm
Re: A little Direction Please May 13, 2008, 7:11 pm
Just need a pointer in the right direction... October 22, 2005, 4:17 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap