Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

(tye)Re: Yet Another Perl Aptitude Test (yapat)

by tye (Sage)
on Mar 02, 2001 at 07:36 UTC ( #61739=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Re: Re: Yet Another Perl Aptitude Test (yapat)
in thread Yet Another Perl Aptitude Test (yapat)

Another common problem is if you just used "cut'n'paste" to grab the script, then you probably introduced leading spaces on the lines. You should probably use the "d/l code" link at the bottom of the node instead (though browsers can be a bit silly about this and it can introduce other problems that way).

It would probably good to update the script so that it ignores whitespace completely.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: Yet Another Perl Aptitude Test (yapat)

Replies are listed 'Best First'.
Re: (tye)Re: Yet Another Perl Aptitude Test (yapat)
by zeno (Friar) on Mar 02, 2001 at 15:55 UTC
    You're right tye, I just fixed the code not to use newlines in the regex. I should have done it that way from the beginning, because windoze and linux do different things with newlines (it seems windows stores \r\n at the end of each newline). It should work now.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://61739]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2023-11-30 01:44 GMT
Find Nodes?
    Voting Booth?

    No recent polls found