http://www.perlmonks.org?node_id=188168


in reply to Re: Is this a correct way of obtaining input from a file?
in thread Is this a correct way of obtaining input from a file?

I used DamnDirtyApe's suggestion and it worked like a charm in getting the input. However, when it comes to querying UPS's website with the tracking number, Lynx passes back a bad request, probably because there's an invalid character still attached to the tracking number. How can I strip any unwanted characters out after the string has been chomped?
  • Comment on Re: Re: Is this a correct way of obtaining input from a file?

Replies are listed 'Best First'.
Re: Re: Re: Is this a correct way of obtaining input from a file?
by cecil36 (Pilgrim) on Aug 06, 2002 at 21:28 UTC
    Nevermind the orignal post, Notepad stuck the character in the file when I generated it. vi in Cygwin fixed it.