[18587] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 755 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Apr 24 18:05:59 2001

Date: Tue, 24 Apr 2001 15:05:15 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <988149915-v10-i755@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Tue, 24 Apr 2001     Volume: 10 Number: 755

Today's topics:
        5.00503 vs. 5.6.0.623 <prlawrence@lehigh.edu>
    Re: ActivePerl problem <stead367@earthlink.net>
    Re: avoid having to hit the enter key (Abigail)
        Best Listserv <notmyrealemail@fake.com>
    Re: Best Listserv (Steve Lamb)
    Re: Best Listserv <notmyrealemail@fake.com>
    Re: Can I include local perl snipits? <xris@dont.send.spam>
    Re: Can I include local perl snipits? (Abigail)
    Re: Can I include local perl snipits? (Craig Berry)
    Re: Chicago Perl Consultants Needed (Tad McClellan)
    Re: Compression (to .zip/.gz) using system/backticks <mischief@velma.motion.net>
    Re: Compression (to .zip/.gz) using system/backticks (Abigail)
    Re: Daemon: should the parent exit or _exit after the f (Ilya Zakharevich)
    Re: Execute script at certain times? (Abigail)
        execution of perl script <gsackmann@classroom.com>
    Re: fakessi <johnm@aiamail.com>
    Re: fakessi <uri@sysarch.com>
    Re: GD/TrueType weirdness (SOLVED...or not!) <dharding@uiuc.edu>
    Re: Good editor for perl <moverho1@nycap.rr.com>
    Re: Good editor for perl (Steve Lamb)
    Re: Good editor for perl <moverho1@nycap.rr.com>
    Re: Good editor for perl (Steve Lamb)
    Re: Good editor for perl <gellyfish@gellyfish.com>
    Re: Good editor for perl (Anno Siegel)
    Re: Good editor for perl (Steve Lamb)
    Re: help needed with strings <mischief@velma.motion.net>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Tue, 24 Apr 2001 14:46:22 -0400
From: "Phil R Lawrence" <prlawrence@lehigh.edu>
Subject: 5.00503 vs. 5.6.0.623
Message-Id: <9c4hm1$kcs@fidoii.CC.Lehigh.EDU>

The following script work under the *older* version of Perl on AIX (5.00503),
yet fails under a newer, ActiveState Perl (5.6.0.623) on Windows98.

Any idea why?  Error:
Can't locate object method "foo" via package "B" at inherit.pl line 13.

Script:
package A;
sub foo {
    my $class = shift;
    my $self = {};
    bless ($self,$class);
    return $self;
}

package B;
use base 'A';
sub bar {
    my $class = shift;
    my $b = $class->foo;
}

package C;
use base 'B';
sub baz {
    my $class = shift;
    my $c = $class->bar;
}

package main;
$a = A->foo;
$b = B->bar;
$c = C->baz;
print "a: $a ", ref $a, "\n";
print "b: $b ", ref $b, "\n";
print "c: $c ", ref $c, "\n";

$aa = (ref $a)->foo;
$bb = (ref $b)->bar;
$cc = (ref $c)->baz;
print "aa: $aa ", ref $aa, "\n";
print "bb: $bb ", ref $bb, "\n";
print "cc: $cc ", ref $cc, "\n";




------------------------------

Date: Tue, 24 Apr 2001 20:19:01 GMT
From: "The Starman" <stead367@earthlink.net>
Subject: Re: ActivePerl problem
Message-Id: <VclF6.1757$G04.224358@newsread2.prod.itd.earthlink.net>

Steve,

    I just saw your post and some replies...  hope you didn't bother
d/l ing and installing the Apache Server yet!  You really don't need
something that LARGE!!!!!   There are a few other MUCH smaller
programs you can use!

    I like showing people what they can do with perl on a Windows
machine...  email me.
    Specifically,  in order to have a perl program execute through
a web browser,  you are talking about a much different way that
the perl script must be written to do this which is called  CGI  script
programming.   Basically,  your perl script must create output that
can be served up as  something  RECOGNIZABLE to a web
server.  As  a  bare  minimum,  the very first line of any output you
want to send to a web browser has got to be:

print "Content-type: text/html\n\n";

which tells the server that whatever follows is OK to spit back at a
web browser as is...   that it's NOT a binary PICTURE  file such as
a .gif or .jpeg, etc.  Without this line, the web server has no idea
what you're trying to send and therefore the server won't send it;
servers generally are set up to send ONLY certain types of files,
but when you're executing a perl script (iow, a program is running
and trying to feed some output to the server) then you specifically
have to indicate to the server that it's OK to send the following
character stream as if it were an  HTML code page or plain text,
or whatever else.

    The server I happen to prefer using on my own computer is
called XITAMI  from  IMATIX,  but I have seen some even
smaller than this; one called Simple Server from AnalogX
http://www.analogx.com/  that does do CGI script serving too.

    My main point is --> Did you simply want to see how CGI was
done and perhaps make a few small scipts of your own, or are
you actually interested in running your own Internet server some
day?!!  The latter takes a WHOLE LOT OF WORK!!!  For the
former you simply need to know how to make your  scripts run
on whatever server you place them on.   I  happen to  have mine
on a  UNIX  machine maintained by a large ISP,  but I get to do
all the permission changes myself using a Telnet client...  So I
have to know a number of UNIX commands to do that.  You'll
see the command  CHMOD  a  lot in relation to this.  It's used to
tell the sever that it's OK to allow your script to be executed by
someone on the Net, but not allowed to read it or have access
to the directory it's kept in.  Most good ISPs wouldn't allow that
even if you did try to say it would be O.K.!!!

Hope this helps...  write back.   The Starman.


Steve wrote in message <3AE07FE4.9D7FABFD@sky.net>...
>I just installed ActivePerl on my Win98 computer.
>
>I can run programs (ie: "Hello World", etc.) from the command line OK.
>
>When I try and run a program (program.cgi or program.pl) from my browser
>... both Explorer and Netscape try to Open the file rather than run the
>script.
>
>Why won't something simple like this (which runs fine on-line) send the
>.html line to my browser?
>
> #!/usr/local/bin/perl
>
> require "cgi-lib.pl";
>
> print &PrintHeader;
> print &HtmlTop;
>
> print "Hello world!!";
>
> print &HtmlBot;
>
>If this is really a Windows questions, sorry.
>
>Steve
>




------------------------------

Date: Tue, 24 Apr 2001 21:15:58 +0000 (UTC)
From: abigail@foad.org (Abigail)
Subject: Re: avoid having to hit the enter key
Message-Id: <slrn9ebr8e.3sc.abigail@tsathoggua.rlyeh.net>

Phil Treen (ptreen@empire.net) wrote on MMDCCXCIII September MCMXCIII in
<URL:news:3AE4C530.2509A7B2@empire.net>:
{}  I have written a perl script that uses the system command, the script
{}  stalls until the enter key is hit. Is there any way to avoid this


As far is Perl concerned, it will wait before continuing until the
called program is finished. If the called program needs a hit on
the enter key to finish, then that's between you and the called
program, Perl is not involved.


Abigail


------------------------------

Date: Tue, 24 Apr 2001 20:47:12 GMT
From: "BarryK" <notmyrealemail@fake.com>
Subject: Best Listserv
Message-Id: <kDlF6.20452$U4.4774499@news1.rdc1.tn.home.com>

Does anyone know what the best Perl listserv is? Gratis.




------------------------------

Date: Tue, 24 Apr 2001 20:54:56 -0000
From: grey@despair.rpglink.com (Steve Lamb)
Subject: Re: Best Listserv
Message-Id: <slrn9ebq10.n0n.grey@teleute.dmiyu.org>

On Tue, 24 Apr 2001 20:47:12 GMT, BarryK <notmyrealemail@fake.com> wrote:
>Does anyone know what the best Perl listserv is? Gratis.

    Listserv written in Perl?  Majordomo.  Of course, I don't think Perl wants
to admit that since Majordomo is the absolute worst list server there is.  I'd
rather run a proprietary NT only list serv before going through the torture of
Majordomo ever, EVER again.

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------


------------------------------

Date: Tue, 24 Apr 2001 21:13:41 GMT
From: "BarryK" <notmyrealemail@fake.com>
Subject: Re: Best Listserv
Message-Id: <90mF6.20466$U4.4788564@news1.rdc1.tn.home.com>

No, I mean a listserv for me to subscribe to read and post. There are many,
but some are small. I'm looking for one with 100+ subscribers.

"Steve Lamb" <grey@despair.rpglink.com> wrote in message
news:slrn9ebq10.n0n.grey@teleute.dmiyu.org...
> On Tue, 24 Apr 2001 20:47:12 GMT, BarryK <notmyrealemail@fake.com> wrote:
> >Does anyone know what the best Perl listserv is? Gratis.
>
>     Listserv written in Perl?  Majordomo.  Of course, I don't think Perl
wants
> to admit that since Majordomo is the absolute worst list server there is.
I'd
> rather run a proprietary NT only list serv before going through the
torture of
> Majordomo ever, EVER again.
>
> --
>          Steve C. Lamb         | I'm your priest, I'm your shrink, I'm
your
>          ICQ: 5107343          | main connection to the switchboard of
souls.
> -------------------------------+------------------------------------------
---




------------------------------

Date: Tue, 24 Apr 2001 13:43:51 -0500
From: xris <xris@dont.send.spam>
Subject: Re: Can I include local perl snipits?
Message-Id: <xris-0639CB.13435024042001@news.evergo.net>

In article <slrn9ebc4n.tho.abigail@tsathoggua.rlyeh.net>,
 abigail@foad.org (Abigail) wrote:

> Pray tell us, *what* overhead are you referring to? How do you create
> a (named) function that isn't in a package?

It's long been known that OOP is slower than non-OOP for small programs 
because of the overhead needed for building and destroying objects.  For 
single-fire programs, or collections of simple routines, there is no 
need to create more objects.  They take time and processor speed 
(granted, NOT much, but it's still something).  If you don't put them in 
a package, they get stuck in whatever package called them.  OK, so I'm a 
major efficiency nut and it wouldn't REALLY make a difference.  Just 
figured that he might get confused more if he had to learn about 
packages AND "require"..

-Chris



------------------------------

Date: Tue, 24 Apr 2001 20:30:31 +0000 (UTC)
From: abigail@foad.org (Abigail)
Subject: Re: Can I include local perl snipits?
Message-Id: <slrn9eboj7.2rs.abigail@tsathoggua.rlyeh.net>

xris (xris@dont.send.spam) wrote on MMDCCXCIII September MCMXCIII in
<URL:news:xris-0639CB.13435024042001@news.evergo.net>:
**  In article <slrn9ebc4n.tho.abigail@tsathoggua.rlyeh.net>,
**   abigail@foad.org (Abigail) wrote:
**  
** > Pray tell us, *what* overhead are you referring to? How do you create
** > a (named) function that isn't in a package?
**  
**  It's long been known that OOP is slower than non-OOP for small programs 
**  because of the overhead needed for building and destroying objects.  For 

Objects are just references. So, you're building and destroying references.
Which you're likely doing in a non-OO program as well.

But beside that, what does that have to do with *packages*?

**  single-fire programs, or collections of simple routines, there is no 
**  need to create more objects.  They take time and processor speed 
**  (granted, NOT much, but it's still something).  If you don't put them in 
**  a package, they get stuck in whatever package called them.  OK, so I'm a 
**  major efficiency nut and it wouldn't REALLY make a difference.  Just 
**  figured that he might get confused more if he had to learn about 
**  packages AND "require"..


Please explain to use why on earth "package" implies "objects". 
I don't get it. Must be a feature of the most recent bleedperl.
It's been at least 2 days since I synced.


Abigail
-- 
#!/opt/perl/bin/perl -w
$\ = $"; $; = $$; END {$: and print $:} $SIG {TERM} = sub {$ := $_}; kill 15 =>
fork and ($; == getppid and exit or wait) foreach qw /Just another Perl Hacker/


------------------------------

Date: Tue, 24 Apr 2001 20:43:02 -0000
From: cberry@cinenet.net (Craig Berry)
Subject: Re: Can I include local perl snipits?
Message-Id: <tebpam5mlfv1c5@corp.supernews.com>

xris (xris@dont.send.spam) wrote:
: In article <slrn9ebc4n.tho.abigail@tsathoggua.rlyeh.net>,
:  abigail@foad.org (Abigail) wrote:
: 
: > Pray tell us, *what* overhead are you referring to? How do you create
: > a (named) function that isn't in a package?
: 
: It's long been known that OOP is slower than non-OOP for small programs 
: because of the overhead needed for building and destroying objects.

packages != OOP

: For single-fire programs, or collections of simple routines, there is
: no  need to create more objects.  They take time and processor speed 
: (granted, NOT much, but it's still something).  If you don't put them in 
: a package, they get stuck in whatever package called them.

: Which is Abigail's point.  You're always in some package.

-- 
   |   Craig Berry - http://www.cinenet.net/~cberry/
 --*--  "When the going gets weird, the weird turn pro."
   |               - Hunter S. Thompson


------------------------------

Date: Tue, 24 Apr 2001 15:33:40 -0400
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: Chicago Perl Consultants Needed
Message-Id: <slrn9ebl8k.qhi.tadmc@tadmc26.august.net>

Chris Stith <mischief@velma.motion.net> wrote:
>Mark Lewis <mark@marklewisinc.com> wrote:

>> able to join a large progressive company that is a leader in their industry
>> (Financials). Our client is looking for several experienced developers who
>> can help move the client to an EJB environment. This is an excellent
>> opportunity for income and career growth for motivated and talented
>> individuals.
>
>If you want Java people, why are you looking in a Perl group?


Lack of technical savvy seems the most likely explanation.


>In this section of your post, most of the sentences aren't.


That told me something too.


>Why would I want to send you a Microsoft Word file? If you can't
>read text, HTML, RTF, or PDF, then you aren't really a computer
>company. 


He isn't really a computer company.


>You have no right to
>potentially damage my job standing with my employer simply because
>you are too lazy to find the correct group.


He's merely a wannabe.

I Cc'd him on my followup. The entire body of his response was

   "Thanks and have a great day!", 

Jeopardy quoted to boot!

He seems as perceptive as a potato.


Perl programmers world wide are going to be rushing to work
with (for) him I'm sure...


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


------------------------------

Date: Tue, 24 Apr 2001 19:57:57 -0000
From: Chris Stith <mischief@velma.motion.net>
Subject: Re: Compression (to .zip/.gz) using system/backticks
Message-Id: <tebmm59pkvh5a3@corp.supernews.com>

Scott R. Godin <webmaster@webdragon.unmunge.net> wrote:

> heh, no I know about that -- I have CPAN.pm installed on my shell and 
> have dozens of locally installed modules via 
> LIB=~/perl/lib/perl5/site_perl;PREFIX=~/perl/lib/perl5/site_perl :-)

So do this with everything else, including Archive::Tar and
Compress::Zlib. Both are pure Perl.

Compress::Zlib does require that zlib be installed, but if your
hosting company does not have zlib installed, find a better
hosting company.

> and they just upgraded the box to FreeBSD 4.3-STABLE and Perl 5.005 
> <grin> More new stuff to learn. 

If they just upgraded to Perl 5.005 now that 5.6.1 is out, you might
think about finding a better hosting company.

> -- what I meant was getting the admins at this other site to add any 
> modules I ftp over, into the 'www' group so that they are accessible by 
> the web, hence my comment about 'group'.

They should be able to set your site up to run as your user. They
should also be able to determine whether or not the modules will
break anything. If they can't do one or the other, then you should
probably find a better hosting company.

You could always look into colocting a server instead of changing
hosting providers. If you do colocate, though, be ready to secure
your own box. I enjoy no part of my job less than rebuilding a
customer-managed colocation box and trying to recover all data,
then billing the customer for my services all while I could be
working on my own systems, keeping my own boxes secure and running.

Chris

-- 
Christopher E. Stith
Product shown enlarged to make you think you're getting more.



------------------------------

Date: Tue, 24 Apr 2001 21:30:42 +0000 (UTC)
From: abigail@foad.org (Abigail)
Subject: Re: Compression (to .zip/.gz) using system/backticks
Message-Id: <slrn9ebs42.3sc.abigail@tsathoggua.rlyeh.net>

Chris Stith (mischief@velma.motion.net) wrote on MMDCCXCIII September
MCMXCIII in <URL:news:tebmm59pkvh5a3@corp.supernews.com>:
[]  Scott R. Godin <webmaster@webdragon.unmunge.net> wrote:
[]  
[] > heh, no I know about that -- I have CPAN.pm installed on my shell and 
[] > have dozens of locally installed modules via 
[] > LIB=~/perl/lib/perl5/site_perl;PREFIX=~/perl/lib/perl5/site_perl :-)
[]  
[]  So do this with everything else, including Archive::Tar and
[]  Compress::Zlib. Both are pure Perl.
[]  
[]  Compress::Zlib does require that zlib be installed, but if your
[]  hosting company does not have zlib installed, find a better
[]  hosting company.

Why would a "pure Perl" module need zlib to be installed?

People have dropped the idea of having a pure Perl implementation of the
(de)compression algorithm, but people haven't even agreed whether that
will be a good idea, let alone have implemented it.



Abigail


------------------------------

Date: 24 Apr 2001 19:39:40 GMT
From: ilya@math.berkeley.edu (Ilya Zakharevich)
Subject: Re: Daemon: should the parent exit or _exit after the fork?
Message-Id: <9c4kps$5dc$1@agate.berkeley.edu>

[A complimentary Cc of this posting was sent to
T R Barrett
<ccstrb@bath.ac.uk>], who wrote in article <GCAzuE.1y2.B.ss1@bath.ac.uk>:
> In article <slrn9e4ero.88k.garry@zfw.zvolve.net>,
> 	garry@ifr.zvolve.net (Garry Williams) writes:
> 
> > By the way, perl calls _exit(2) when you call Perl's exit (on Solaris
> > anyway): 

If true, irrelevant.  Perl calls exit() (which may call _exit() indeed).

> So how come when I call fork in my Perl module when there is unflushed
> data in the STDOUT buffer, I get 2 of everything printed on my terminal?

Your perl is buggy.  Recent perls auto-flush on fork().

Ilya


------------------------------

Date: Tue, 24 Apr 2001 21:46:32 +0000 (UTC)
From: abigail@foad.org (Abigail)
Subject: Re: Execute script at certain times?
Message-Id: <slrn9ebt1o.3sc.abigail@tsathoggua.rlyeh.net>

Bernard El-Hagin (bernard.el-hagin@lido-tech.net) wrote on MMDCCXCIII
September MCMXCIII in <URL:news:slrn9eacp6.bfu.bernard.el-hagin@gdndev25.lido-tech>:
:}  On Tue, 24 Apr 2001 00:52:34 -0700, Preston Price <pric3596@cs.uidaho.edu>
:}  wrote:
:} >I was wondering if anyone knew of a way to have a program run at a certain
:} >time everyday. I want something that will run at midnight every night. Does
:} >anyone know of a way to do this?
:} >Thanks in advance.
:}  
:}  If you can prove that this is a Perl question I'll give you the answer.


    _:_ while ((localtime) [2] || (localtime) [1] || (localtime) [0]);
    mid_night_run;
    goto _;



Abigail
-- 
map{${+chr}=chr}map{$_=>$_^ord$"}$=+$]..3*$=/2;        
print "$J$u$s$t $a$n$o$t$h$e$r $P$e$r$l $H$a$c$k$e$r\n";


------------------------------

Date: Tue, 24 Apr 2001 14:55:40 -0500
From: Gleason Sackmann <gsackmann@classroom.com>
Subject: execution of perl script
Message-Id: <vdmbetc0ur3mlhf7vr07jdbskufr14ooe6@4ax.com>

Hi!

I am new to this newsgroup, so I hope I'm in the right one.

Hi!

I need some advice on a perl script that I am trying to execute as a
batch file:
C:\WINDOWS\COMMAND.COM /C ""C:/perl/bin/perl test.pl text.txt""

When the batch file is executed, I always receive the following
response:
C:\TEMP>test

C:\TEMP>C:\WINDOWS\COMMAND.COM /C ""C:\perl\bin\perl test.pl
text.txt""
Can't open perl script "test.pl": No such file or directory

Obviously, I am missing something, but what?

<Gleason>



------------------------------

Date: 24 Apr 2001 21:55:16 GMT
From: "John Michael" <johnm@aiamail.com>
Subject: Re: fakessi
Message-Id: <9c4so4$mqo@dispatch.concentric.net>

I know you guys are busy, but never to busy to send a smart comment.  I did
try altavista before coming here and got quite a few sites that also led to
either the same site or nothing.  I will try a different one since I seem to
have offened you guys.  I thought these forums were for helping people.
thanks anyway
John Michael


John Michael <johnm@aiamail.com> wrote in message
news:9c3k4d$mr2@dispatch.concentric.net...
> I'm looking for a copy of
> fakessi.pl
> and can't find it. I have looked at the locations listed in the CGI
> programming book and they no longer exist.
> http://sw.cse.bris.ac.uk/WebTools/fakessi.html
>
> Does anyone know where to find it.
>
> Thanks in advance
> John Michael
>
>
>
>




------------------------------

Date: Tue, 24 Apr 2001 22:00:36 GMT
From: Uri Guttman <uri@sysarch.com>
Subject: Re: fakessi
Message-Id: <x7bspmhsaa.fsf@home.sysarch.com>

>>>>> "JM" == John Michael <johnm@aiamail.com> writes:

  JM> I know you guys are busy, but never to busy to send a smart
  JM> comment.  I did try altavista before coming here and got quite a
  JM> few sites that also led to either the same site or nothing.  I
  JM> will try a different one since I seem to have offened you guys.  I
  JM> thought these forums were for helping people.  thanks anyway

this is not a helpdesk. this is usenet, a anarchistic set of discussion
forums. please learn the difference. if you want a help desk, i accept
paypal.

<jeopardectomy of his OWN fully quoted post>

uri

-- 
Uri Guttman  ---------  uri@sysarch.com  ----------  http://www.sysarch.com
SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com
Learn Advanced Object Oriented Perl from Damian Conway - Boston, July 10-11
Class and Registration info:     http://www.sysarch.com/perl/OOP_class.html


------------------------------

Date: Tue, 24 Apr 2001 14:32:39 -0500
From: Dan Harding <dharding@uiuc.edu>
Subject: Re: GD/TrueType weirdness (SOLVED...or not!)
Message-Id: <3AE5D4D7.C0E16091@uiuc.edu>


AUGH!

Just when I thought everything was safe. :(

[bear with me on the story...]

There is apparently something funky with the newFromPng and newFromJpeg
functions in GD, at least in conjunction with ActivePerl.

Creating an image in memory as opposed to attempting to work based
on an existing image works fine and spiffy; I can drop my TrueType
text on the image in the color I want, export the image, yadda, yadda.

However the aforementioned newFrom... functions crash PERL under
WinNT every time. Dr. Watson and I are becoming good buddies; I'm
thinking of buying access violations for all my friends as Xmas
presents...

Doing some reading over at the archives for the ActiveState mailing
lists, it appears that I upgraded some of the modules in question 
incorrectly (i.e., doing a "ppm uninstall ..." "ppm install path_to_
new_version" instead of a "ppm verify --upgrade yadayadayada").

So...

I uninstalled PERL 5.6.0.623 and reinstalled it from scratch,
did a "verify -- upgrade" on all modules installed with the ActivePerl
binary distribution, then this time instead of doing a "default"
install of GD 1.27.2 and upgrading to 1.32, I did a clean install
of GD 1.32.

No dice. both PNG and JPEG import functions still crash.

Ok. What next?

I figured I'd try the trial version of PERL 5.6.1.625.

Here's the procedure I used:

1. Install binary distribution (MSI) of 5.6.1.625
2. "ppm verify --upgrade" (all default modules become current)
3. "ppm install
http://www.activestate.com/ppmpackages/support/5.6/GD.ppd"
   (clean version of GD 1.32)

The newFromPng still crashes PERL.exe, *BUT* the newFromJpeg
function now works fine. ???

Now what?

I suppose I can convert all the images I want to work with to
JPEG before importing, but that's really ugly; I was hoping to
deal with a non-lossy workflow (not to mention instantly filling
the entire color palette and having to deallocate colors in order to
work).

-Dan


------------------------------

Date: Tue, 24 Apr 2001 19:24:49 GMT
From: "Mark" <moverho1@nycap.rr.com>
Subject: Re: Good editor for perl
Message-Id: <5qkF6.42737$rk.4773352@typhoon.nyroc.rr.com>

but limited to 6k as well

"Super-Simon" <simon@super-simon.com> wrote in message
news:9c1vkt$inj$1@news1.xs4all.nl...
Really good, and free!!!!!!!

I think I'm going to use this! Thanks for suggesting!

Grtz,

Super-Simon

"---Pete---" <bogus@erol.com> wrote in message
news:3ae4772d.101356896@news.earthlink.net...
> On Mon, 23 Apr 2001 16:08:42 +0200, "Super-Simon"
> <simon@super-simon.com> wrote:
>
> >I'm searching for a good, fast editor with syntax highlighting for perl
> >(CGI) for use under Windows 2000 / Windows 98 (I use windowz only for
> >editing scripts, scripts runs on Linux-server). It has to be free (I'm a
> >poor student ;-)
> -------
> I recommend the "Visual Perl IDE", an integrated development
> environment for writing and debugging perl scripts under Windows.
>
> This program is written with Delphi 5 and Perl, and it is OpenSource,
> distributed under Mozilla Public License !
>
> And here are the key features:
>
> -Perl Syntax Coloring
>
> -Script lines with syntax errors will be highlighted in editor window.
>
> -Insertion and deletion of breakpoints with one mouse click.
>
> -View and edit of variables in a hierarchical watch tree.
>
> -Hint evaluation: Variables under the mouse cursor will be evaluated
> and shown as hint.
>
> If you want to download or get further information about
> Visual Perl IDE, or if you just want to see some screenshots,
> visit either site...
> http://www.lost-sunglasses.de
> http://visual-perl.sourceforge.net
>
>
> PS: I have no connection with the author, I recently downloaded
> this program and liked it. The current version is free.
> ---pete---
>






------------------------------

Date: Tue, 24 Apr 2001 19:44:21 -0000
From: grey@despair.rpglink.com (Steve Lamb)
Subject: Re: Good editor for perl
Message-Id: <slrn9eblsl.mns.grey@teleute.dmiyu.org>

On Mon, 23 Apr 2001 16:08:42 +0200, Super-Simon <simon@super-simon.com> wrote:
>I'm searching for a good, fast editor with syntax highlighting for perl
>(CGI) for use under Windows 2000 / Windows 98 (I use windowz only for
>editing scripts, scripts runs on Linux-server). It has to be free (I'm a
>poor student ;-)

    Vim.  On Windows, on Linux, syntax highlighting, free.  

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------


------------------------------

Date: Tue, 24 Apr 2001 20:21:03 GMT
From: "Mark" <moverho1@nycap.rr.com>
Subject: Re: Good editor for perl
Message-Id: <PelF6.42908$rk.4830534@typhoon.nyroc.rr.com>

just found this one havent used it much but its free may already be submited
here though
http://www.mkidesign.com/software.html
this is alot like the multiedit software and looks to be customisable.
it is freeware





------------------------------

Date: Tue, 24 Apr 2001 20:32:24 -0000
From: grey@despair.rpglink.com (Steve Lamb)
Subject: Re: Good editor for perl
Message-Id: <slrn9ebomo.n0n.grey@teleute.dmiyu.org>

On Tue, 24 Apr 2001 20:21:03 GMT, Mark <moverho1@nycap.rr.com> wrote:
>just found this one havent used it much but its free may already be submited
>here though
>http://www.mkidesign.com/software.html
>this is alot like the multiedit software and looks to be customisable.
>it is freeware

    Sorry, any web page for a program which should have screen shots and does
not isn't worth the time to look at.  While screenshots may not tell you a lot
about a program they do say a lot about it.  

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------


------------------------------

Date: 24 Apr 2001 20:37:26 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Good editor for perl
Message-Id: <9c4o66$mhn$1@neptunium.btinternet.com>

David Coppit <newspost@coppit.org> wrote:
> On 23 Apr 2001, Anno Siegel wrote:
> 
>> > Looks nice, but it's shareware and I can't find the syntax highlighting....
>>
>> Is this supposed to imply syntax hilighting is a good thing?
> 
> Is this supposed to imply syntax hilighting is a bad thing?
> 

Is this supposed to imply that discussion of text editors is appropriate
here when a search of the FAQ or the archive formerly known as Deja News
would provide a wealth of information ?

/J\
-- 
Jonathan Stowe                      |
<http://www.gellyfish.com>          |      This space for rent
                                    |


------------------------------

Date: 24 Apr 2001 20:49:02 GMT
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: Good editor for perl
Message-Id: <9c4oru$ecj$1@mamenchi.zrz.TU-Berlin.DE>

According to Steve Lamb <morpheus@here.not.there>:

> ... While screenshots may not tell you a lot about a program they do
> say a lot about it.  

Hmmm?

Anno


------------------------------

Date: Tue, 24 Apr 2001 20:53:51 -0000
From: grey@despair.rpglink.com (Steve Lamb)
Subject: Re: Good editor for perl
Message-Id: <slrn9ebpuv.n0n.grey@teleute.dmiyu.org>

On 24 Apr 2001 20:49:02 GMT, Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
wrote:
>According to Steve Lamb <morpheus@here.not.there>:

>> ... While screenshots may not tell you a lot about a program they do
>> say a lot about it.  

>Hmmm?

s/a lot/all/

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------


------------------------------

Date: Tue, 24 Apr 2001 21:16:17 -0000
From: Chris Stith <mischief@velma.motion.net>
Subject: Re: help needed with strings
Message-Id: <tebr917aooat99@corp.supernews.com>

Bob Smith <gglackin@nospam.eircom.net> wrote:
> Hi,

> I was wondering if any one knows of any code that
> would allow me to replace a string like /local/cgi-bin/
> with /html/ie/

    $variable =~ s{/local/cgi-bin/}{/html/ie/};

That will be $100 U.S., money order in U.S. dollars
preferred. I do not accept checks from outside the
states of Illinois, Missouri, Indiana, or Wisconsin
or from business with fewer than 50 employees unless
you receive prior permission to pay by check. No
personal checks, please.

If you wish to avoid like charges in the future, you
may wish to consider reading the documentation which
comes with your software. In this case, 'perldoc perlop'
and 'perldoc perlre' are going to be of interest. As
you may have noticed, depending upon consultants to
read for you can be a costly mistake.

Email stith@motion.net or mischief@motion.net to
inquire about the payment address.

Chris Stith

-- 
Where there's a will, there's a lawyer.



------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc.  For subscription or unsubscription requests, send
the single line:

	subscribe perl-users
or:
	unsubscribe perl-users

to almanac@ruby.oce.orst.edu.  

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.

For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 755
**************************************


home help back first fref pref prev next nref lref last post