For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > October 2004 > IDEs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author IDEs
daniel kaplan

2004-10-29, 3:57 am

For whatever my opinion is or isn't worth here, I gave up on Open-Perl-IDE
and went back to the AS Komodo IDE. O.P. just seemed to give me so many
headaches related to the modules (in my USE statements) before exectuing my
first line of code.

So despite the fact that I feel Komodo is slow to start, am just getting
around using it easier.


daniel kaplan

2004-10-29, 3:57 am

"daniel kaplan" <nospam@nospam.com> wrote in message
news:1099029938.288864@nntp.acecape.com...
> For whatever my opinion is or isn't worth here, I gave up on Open-Perl-IDE
> and went back to the AS Komodo IDE. O.P. just seemed to give me so many
> headaches related to the modules (in my USE statements) before exectuing

my
> first line of code.
>
> So despite the fact that I feel Komodo is slow to start, am just getting
> around using it easier.



Oh, I don't know how or who keeps up the FAQ, but at least two of the links
to IDEs found via perldoc -q "IDE" were links that were either dead or
didn't take me to the IDEs they claimed they would...


James Willmore

2004-10-29, 8:56 am

daniel kaplan wrote:
<snip>

> Oh, I don't know how or who keeps up the FAQ, but at least two of the links
> to IDEs found via perldoc -q "IDE" were links that were either dead or
> didn't take me to the IDEs they claimed they would...


There's a FAQ for that :-) 'perldoc perlfaq`

HTH

Jim
Michael Carman

2004-10-29, 3:57 pm

daniel kaplan wrote:
> I gave up on Open-Perl-IDE and went back to the AS Komodo IDE. O.P.
> just seemed to give me so many headaches related to the modules (in
> my USE statements) before exectuing my first line of code.


How does your *editor* cause problems with 'use' statements? (rhetorical)

There are almost as many opinions as there are programmers, but I'll
toss in a recommendation anyway: UltraEdit. I tend to program in a few
different languages at any given time, so I'm not a fan of IDEs that
specialize in a particular language. I prefer a good text editor that's
customizable and extensible.

UltraEdit isn't free, but it's very inexpensive. It takes a little
tweaking, but it can be made into a very good environment. (tweak the
syntax highlighting, add in ctags, add some custom commands for checking
syntax, running, debugging, checking in/out of source control, etc.)

-mjc
daniel kaplan

2004-10-29, 3:57 pm

"James Willmore" <jwillmore@adelphia.net> wrote in message
news:V_SdnarV_9B6rB_cRVn-gA@adelphia.com...

> There's a FAQ for that :-) 'perldoc perlfaq`


i should have guessed


daniel kaplan

2004-10-29, 3:57 pm

"James Willmore" <jwillmore@adelphia.net> wrote in message
news:V_SdnarV_9B6rB_cRVn-gA@adelphia.com...
>
> There's a FAQ for that :-) 'perldoc perlfaq`
>


first off james thanks for poitning that out to me so nicely, i have gone
and sent the email to:

supprt -die bot die- A(something)State ENDOFSENTENCEMARKER and some other
three letter word

but perhaps you can help me out here, i foudn that email address in the HTML
version of the faq. but my problem is searching through perldoc.

your suggestion of "perldoc perlfaq", gave me so much reading i thought i
was reading dicken's "david copperfield" (the unabridged version). and now
knowing what to look for i still couldnt find it!

once in found it in the HTML i tried the old reverse engineering method of
searching for it using perldoc. i used as many variations of perlfaq with
additions, comments, changes, with the -q, without, with quotes, without,
you see where i am gettng at. and still, nada....

so am i using the perldoc incorrectly? believe me, would love to find
everything in just a few keystrokes, not only does it reduce the flame wars
but it also gets me over my problem quicker....woudl appreciate some
thoughts....thanks


daniel kaplan

2004-10-29, 3:57 pm

"Michael Carman" <mjcarman@mchsi.com> wrote in message
news:clthdk$9422@onews.rockwellcollins.com...

> How does your *editor* cause problems with 'use' statements? (rhetorical)


my apologies , from antoher thread, i made a new one so people looking for
IDEs would see thoughts and recommendations.

in a nutshell, the debugger of OpenPerlIDE complained on just loadin the USE
statements. it became too much of a headache. so komodo is slow running,
but it also in the end never whinned about anything but my errors. so i
switched back to that.


James Willmore

2004-10-29, 3:57 pm

daniel kaplan wrote:
> "James Willmore" <jwillmore@adelphia.net> wrote in message
> news:V_SdnarV_9B6rB_cRVn-gA@adelphia.com...
>
<snip>[color=darkred]
> but perhaps you can help me out here, i foudn that email address in the HTML
> version of the faq. but my problem is searching through perldoc.
>
> your suggestion of "perldoc perlfaq", gave me so much reading i thought i
> was reading dicken's "david copperfield" (the unabridged version). and now
> knowing what to look for i still couldnt find it!


from `perldoc perlfaq` (just the section needed from the OP)
=begin
How to contribute to the perlfaq

You may mail corrections, additions, and suggestions to
perlfaq-workers@perl.org . This alias should not be used to ask*
FAQs.
It's for fixing the current FAQ. Send questions to the
comp.lang.perl.misc newsgroup. You can view the source tree at
http://cvs.perl.org/cvsweb/perlfaq/ (which is outside of the main
Perl
source tree). The CVS repository notes all changes to the FAQ.
=cut

I'm not sure what you mean by "i still couldnt find it!". In fact,
this section is as near to the top of the FAQ as you can get without
being the top of the FAQ :-)

<snip>

> so am i using the perldoc incorrectly? believe me, would love to find
> everything in just a few keystrokes, not only does it reduce the flame wars
> but it also gets me over my problem quicker....woudl appreciate some
> thoughts....thanks


Might I suggest that you read `perldoc perldoc`. You'll find that
you can use the '-t' switch in perldoc to produce text output that
can be piped through another command or to a text file. So, for
example, to find the line that 'mail' resides on in 'perlfaq', you
could execute the following:

`perldoc -t perlfaq | grep -n mail`

and get the following information:
15: You may mail corrections, additions, and suggestions to
22: What will happen if you mail your Perl programming problems to
the authors
140: * What mailing lists are there for Perl?
730: * How do I parse a mail header?
734: * How do I check a valid mail address?
738: * How do I return the user's mail address?
740: * How do I send mail?
742: * How do I use MIME to make an attachment to a mail message?
744: * How do I read mail?

and see that line is what you might be looking for.

This is just one way to extend perldoc to get exactly what you want
from whatever documentation you view.

HTH

Jim
daniel kaplan

2004-10-29, 3:57 pm

"James Willmore" <jwillmore@adelphia.net> wrote in message
news:o7-dnULix73Y5h_cRVn-3A@adelphia.com...
> daniel kaplan wrote:
> You may mail corrections, additions, and suggestions to
> perlfaq-workers@perl.org . This alias should not be used to ask*
> FAQs.


yeah was looking at AS's HTML for perl, not the FAQ, changing link now

as for the perldoc, still...no grep (is there a dos equiv?) and doing a
search on the email address itself produced nothing

will forward my email to the correct adfdress thanks

thanks for all your jelp


Jussi Mononen

2004-10-29, 3:57 pm


"Michael Carman" <mjcarman@mchsi.com> kirjoitti
viestissä:clthdk$9422@onews.rockwellcollins.com...
> There are almost as many opinions as there are programmers, but I'll
> toss in a recommendation anyway: UltraEdit. I tend to program in a few
> different languages at any given time, so I'm not a fan of IDEs that
> specialize in a particular language. I prefer a good text editor that's
> customizable and extensible.


Ultraedit has a pretty lousy indentation engine IMO, otherwise it is quite a
good editor at least for Windows. Emacs is my choice though from different
flavours of *NIX to Windows. The configurability and customization is
excellent and the amount of available add-on's is huge :-)

> UltraEdit isn't free, but it's very inexpensive. It takes a little
> tweaking, but it can be made into a very good environment. (tweak the
> syntax highlighting, add in ctags, add some custom commands for checking
> syntax, running, debugging, checking in/out of source control, etc.)


None of this is needed with Emacs (ok, maybe something, but it is rather
good editor out-of-the-box) and did I mention that Emacs is free ;-)

/jUSSi


Michael Carman

2004-10-29, 8:56 pm

daniel kaplan wrote:
>
> no grep (is there a dos equiv?)


See http://sourceforge.net/projects/ppt/

Perl Power Tools (aka the Unix Reconstruction Project) is an
attempt to provide implementations of all core UNIX programs
in perl. This allows greater portability between UNIXes, as
well as non UNIX platforms.

For grep, I took the tcgrep program, created a DOS batch wrapper using
pl2bat, renamed it "grep.bat" and put it in my PATH. Oh, I also inserted
one line to make globbing work better:

if (@ARGV) {
+++ @ARGV = map {glob} @ARGV; # added for use in DOS
$Mult = 1 if ($opt{r} || (@ARGV > 1) || -d $ARGV[0])
&& !$opt{h};
}

Presto! grep for DOS!

-mjc
Michael Carman

2004-10-29, 8:56 pm

Jussi Mononen wrote:
> "Michael Carman" <mjcarman@mchsi.com> kirjoitti
> viestissä:clthdk$9422@onews.rockwellcollins.com...
>
>
> Ultraedit has a pretty lousy indentation engine IMO


True, it's not very sophisticated, but that feature is unimportant to
me. I really don't *want* my editor to do that. I do occasionally use
PerlTidy to clean up someone else's code, though. :)

> Emacs is my choice though from different flavours of *NIX to Windows.


I've tried it several times -- mostly because I wanted something that
was available across multiple platforms (UE is Win* only) -- but the
learning curve is too steep. My productivity would drop to zero while I
tried to figure out how to do things. Part of the problem is that its a
very different paradigm. I'm sure it's great if that's what you're used
to, but it's hard to do that.

> The configurability and customization is excellent and the amount of
> available add-on's is huge :-)


Too huge. I don't want or need three syntax highlighting modes for Perl.
I only want one, but I want to be able to tweak it.

> did I mention that Emacs is free ;-)


Free is good, but I don't mind paying for quality software. At $35, UE
is a bargain. (Great support, too.)

-mjc
Michele Dondi

2004-10-30, 3:55 am

On Fri, 29 Oct 2004 13:49:13 -0400, "daniel kaplan"
<nospam@nospam.com> wrote:

>as for the perldoc, still...no grep (is there a dos equiv?) and doing a
>search on the email address itself produced nothing


There are Windos/DOS ports of grep. But then there's Perl:

perl -lne "print if /what_i_want/" <file(s)>

Unfortunately, at least under Windows98, since the perldoc executable
that comes with AS Perl is a .bat file, you can't pipe its output into
a cmd like the above. OTOH I've set 'less' as my pager and use its
handy search facility. So if you have a favourite pager that allows
you to do searches, then use it instead of 'more'.


Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{po
p^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
Michele Dondi

2004-10-30, 3:55 am

On Fri, 29 Oct 2004 12:16:09 -0400, "daniel kaplan"
<nospam@nospam.com> wrote:

>in a nutshell, the debugger of OpenPerlIDE complained on just loadin the USE
>statements. it became too much of a headache. so komodo is slow running,


As a side note, there's not such a thing as a "USE statement". In fact
Perl is case sensitive. You may use quotes instead, or even better
C<use>, if you want to stress that you're referring to a code
fragment.


Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{po
p^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
Michele Dondi

2004-10-30, 8:55 am

On Fri, 29 Oct 2004 14:47:20 -0500, Michael Carman
<mjcarman@mchsi.com> wrote:

>Free is good, but I don't mind paying for quality software. At $35, UE
>is a bargain. (Great support, too.)


I think it is reasonable to pay for commercial sw that one actually
uses fruitfully. But there are just so many free and high quality text
editors...


Happily using jed,
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{po
p^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
Joe Smith

2004-10-31, 8:55 pm

daniel kaplan wrote:

> as for the perldoc, still...no grep (is there a dos equiv?)


Have you looked into cygwin? (http://www.cygwin.com)
It gives you a bash shell in Windows and has most of the commands
that you expect on a Unix-like system, including grep.

One divantage of cygwin I've come across is that now I have two
installations of perl to maintain: the ActiveState set of modules
and the cygwin set.
-Joe
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com