Re: The old \015 problem

2004-10-07 Thread Dennis G. Wicks
The easiest way is don't use binary mode. The ftp
software is smart enough to handle it.

Good  Luck!
Dennis


On Thu, 7 Oct 2004, David D Miller wrote:

 Date: Thu, 7 Oct 2004 14:34:48 -0700
 From: David D Miller [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: The old \015 problem





 Folks

 I just copied (using ftp in binary mode) my perl scripts from DOS to Unix
 and got caught on the carriage return problem:  When I try to execute the
 DOS scipt in Unix, I get the following

 [mdscom]/usr/people/dmiller/WWW/cgi perl wtdl.pl -w
 Illegal character \015 (carriage return) at wtdl.pl line 5.
 (Maybe you didn't strip carriage returns after a network transfer?)

 Good message.  Right on target.  The question is, how do I remove those
 pesky CRs?

 dave.

 ___
 Perl-Win32-Users mailing list
 [EMAIL PROTECTED]
 To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Editor - finding lines

2004-05-27 Thread Dennis G. Wicks
On Thu, 27 May 2004, Beckett Richard-qswi266 wrote:

 Date: Thu, 27 May 2004 09:36:52 +0100
 From: Beckett Richard-qswi266 [EMAIL PROTECTED]
 To: Perl-Win32-Users [EMAIL PROTECTED]
 Subject: RE: Editor - finding lines

  I would think just a normal search feature would be good enough.
  Find the first one and then hit next for the next one etc.

 That, IMO is the best feature of Crimson Editor... you can highlight
  something with the mouse, hit F3 and it takes you to the next
  instance of it, hit shiftF3 and it takes you to the previous one.

 And for free, it's worth every penny ;-)

 R.

Greetings;

Yes, Crimson is very good. I have it installed on all (8) of
the computers I use.

But, if you have ever used XEdit/THE you would not consider
a normal search feature to be anywhere near good enough.

The feature in XEdit displays only the lines/records
containing the search string. Similar to layers in an image
editor or a DTP program. So, if you can display 80 lines in
your window you will see 80 lines that contain your search
string, not just 80 lines, one or two of which contain it.
Scrolling continues to show only lines containing the search
string.

ob: perl,

Suppose you need to find all the places where child is
called and in what subroutines it may be in. The command
would be

all /child(/|(/sub // {/)

and you would be viewing all subroutine headers and all
calls to child in the correct order, and only those lines.


Xedit was developed back in the '80s and was a big hit when
it came out. Previously there was only a line editor. It is
just unfortunate that other full-screen editors didn't
incorporate some of its features.

Get THE and check it out. It is very customizable and may
give you some ideas if you decide to write an editor of
your own!

Good Luck!
Dennis
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: CGI Help for a Newbie...

2004-05-27 Thread Dennis G. Wicks
On Thu, 27 May 2004, Jared Squires wrote:

 Date: Thu, 27 May 2004 08:46:07 -0700 (PDT)
 From: Jared Squires [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: CGI Help for a Newbie...

 That's the thing... I don't want to have to deal with
 the problems of maintaining a server.  My
 father-in-law is very twitchy when it comes to company
 information that even has a modem in it.

 What Im trying to learn I guess.  Will myform.html
 with some kind of HTML like form ... method = post
 action=c:\perl\mycgi.pl work on a client-ONLY
 computer that has PERL installed on it.  Is the
 method = post part of the server protocol, or is it
 something else.

Greetings;

Well, you can do what you want to do, but why bother? Do you
want to spend your time creating a great application or
figuring out ways to get around the problems involved in not
having a real server?

Since you are not attached to the 'net you don't have to
worry about all the terrible things you have heard about.

As far as the problems of maintaining a server there
aren't any. The problems arise because servers are usually
connected to the internet and are publicly accessible, and
all the things that are associated with that. Yours won't
be.

If you have the Activestate and Apache CDs you can start in
the morning, have both installed and working by noon, and
have something running by dinner time. Just tell Apache to
listen on localhost port 80.

I maintain five web sites using such a configuration and I
tried what you are thinking of. Then I found out that Apache
runs on Windows. I installed it and haven't regretted it.

Good Luck!
Dennis
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs