[11024] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 4624 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jan 11 22:17:18 1999

Date: Mon, 11 Jan 99 19:00:17 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Mon, 11 Jan 1999     Volume: 8 Number: 4624

Today's topics:
    Re: "internal server error" <bwb@dowebpages.com>
    Re: $32.00 to order RedHat! birgitt@my-dejanews.com
    Re: ActivePerl on Win95 <gerry.u@planetinternet.be>
    Re: Diff by character? <BERNIEGS@prodigy.net>
    Re: Help - replacing text in a file buster@sevier.org
        how to return HTML to a specific frame <campitelli@digitalblueworld.com>
    Re: perl cgi (win95) doesn't work with CGI.pm dturley@pobox.com
    Re: Perl Criticism topmind@technologist.com
    Re: Perl Criticism topmind@technologist.com
    Re: Perl Criticism topmind@technologist.com
    Re: Perl Criticism <mds-resource@mediaone.net>
    Re: Perl Criticism <mds-resource@mediaone.net>
    Re: Perl Criticism <mds-resource@mediaone.net>
    Re: Perl Criticism <mds-resource@mediaone.net>
    Re: Perl Criticism <mds-resource@mediaone.net>
    Re: Perl Magick, under NT4, installation trouble ( CL.E (Randy Kobes)
    Re: rpm 5.005_?? ? DANGER (Alan Curry)
        unpack un/signed integers bluepuma@mailexcite.com
    Re: URGENT: Array of arrays... (Matthew Bafford)
        Using a Form in HTML and a Perl Script. <jtb@bekkers.com.au>
    Re: where to download the perl 5.0052.zip for win32 ?? win32apacheguy@my-dejanews.com
        Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)

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

Date: Mon, 11 Jan 1999 20:15:57 -0600
From: Bill Binkley <bwb@dowebpages.com>
Subject: Re: "internal server error"
Message-Id: <369AB05C.44C790F9@dowebpages.com>

To whom ever asked,

Yes it is possible to have both Win95 and Linux on a PC.

Abigail wrote:

> Eirik Johansen (webpages@email.com) wrote on MCMLVII September MCMXCIII
> in <URL:news:36973E3A.882879A2@email.com>:
> () The suggestion from Eugene Sotirescu worked. Thank you so much! Also thank to
> () James Ludlow who gave me a lot of advice. But I also have a simple(?) question. Is
> () it possible to have to different operating systems on a PC (win95 AND Linux). And
> () isn't Linux really hard to use?
>
> No, Linux isn't hard to use, but no doubt it's way beyond your capabilities.
>
> [ 184 lines of needless quoting ]
>
> You are totally clueless. Go away.
>
> Abigail

--
Bill Binkley
Software Composers, Inc.
http://www.dowebpages.com

Go to this URL for JavaScript examples
and sample code. For JavaScript at it's
best see the "European Tour". If you
have a question about the examples, put
it in the comments of the visitors form.




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

Date: Tue, 12 Jan 1999 02:15:06 GMT
From: birgitt@my-dejanews.com
Subject: Re: $32.00 to order RedHat!
Message-Id: <77eb78$pln$1@nnrp1.dejanews.com>

In article <77dafe$rss$1@nnrp1.dejanews.com>,
  dave@mag-sol.com wrote:
> In article <369A07D6.B00869A5@email.com>,
>   Eirik Johansen <webpages@email.com> wrote:
> >
> > Are there any places, say in the UK, that also sell the 5.2 version of
> > RedHat or is there another way to order it without having to pay so much
> > for the delivery?
>
> ...and your Perl question was?
>
> Dave...
>
> p.s. Try the PC Bookshop in the UK <http://www.pcbooks.co.uk/>
>

P.S. Try http://www.LOB.de, Lehmanns Online Bookstore in Germany. They
have a distribution of RedHat for DM 39.00. The cheapest I have seen so
far, sold out in two days.



B.Funk

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Tue, 12 Jan 1999 03:01:10 +0100
From: "gerry.u" <gerry.u@planetinternet.be>
Subject: Re: ActivePerl on Win95
Message-Id: <77ead3$753$1@antwerpen.planetinternet.be>

Dear Sir,

I appolozise for the intrusion, but i noticed your reply to this specific
question.
And i would like to know how i could use MS Personal webserver and
ActivePerl on a win98 Machine?

I'm new to perl & Cgi. And i would like to configure a copy of perlshop for
my business.

I have the manual here from perlshop... what i should type in etc... but i
don't have a UNIX shell. What should i use in win98 to test and configure
the perlshop.
I hope you have a little time to point me in the right direction.
any help will be highly appriciated, thanks in advance.

Best regards,
Gerry
gerry.u@NOSPAM.planetinternet.be





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

Date: Mon, 11 Jan 1999 19:40:30 -0700
From: BERNIEGS <BERNIEGS@prodigy.net>
To: Erland Sommarskog <sommar@algonet.se>
Subject: Re: Diff by character?
Message-Id: <369AB61E.90DBD748@prodigy.net>

Hi,

I'm not quite sure exactly what you're asking for, but it sounds like you

need something that can mark the places where two strings differ, so as
to
make spotting changes easier.

If that's the case, then the following code might be helpful. It really
helps you zero in on changes in a big hurry. I just converted it from an
old REXX one-liner (couldn't get it into a Perl one-liner without making
it hopelessly un-readable). I've used the algorithm a lot over the years
in my REXX work, but it hasn't had as much testing in its Perl
incarnation.

One could easily modify the CHARDIFF subroutine to ignore case and/or
spacing.

I hope this is a useful response to your problem.

==========================================================
# Generate a string highlighting differences between two
# other strings.

$string1 = 'Now is the time for all good men to .';
$string2 = 'Not is the dime for all goo  men to ...';

$markers = &char_diff($string1, $string2);

print qq($string1\n);
print qq($string2\n);
print qq($markers\n);
exit;

sub char_diff() {        # Generate character differences
  my ($s1, $s2) = @_;
  my $marks;
                         # Here's a little magic:
  $marks = $s1 ^ $s2;    # XOR the strings bitwise
  $marks =~ tr/\x00/ /;  # Identical chars become blanks
  $marks =~ tr/ /*/c;    # Different characters become asterisks
  return $marks;
}

============================================================
It generates the following output:

Now is the time for all good men to .
Not is the dime for all goo  men to ...
  *        *               *         **

=============================================================

Erland Sommarskog wrote:

> Basically my problem is this: I have a script which reads a file
> with replacements to do, performs the replacements (unless told
> not to), and reports to STDOUT the lines that were changed. The
> report gives both the line before and after. The replacements
> are Perl regexps.
>
> Now, what I would like to improve is to have the changes highlighted.
> That is, the very characters that have changed. (The script operates
> only within lines, never across line boundaries.)

--
Bernie Schneider: berniegs@prodigy.net
========================================================================
The individual has always had to struggle to keep from being overwhelmed
by the tribe. To be your own man is a hard business. If you try it, you
will be lonely often, and sometimes frightened. But no price is too high
to pay for the privilege of owning yourself.       << Rudyard Kipling >>




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

Date: Tue, 12 Jan 1999 02:24:24 GMT
From: buster@sevier.org
Subject: Re: Help - replacing text in a file
Message-Id: <369AB0D1.D14A6928@sevier.org>





> How do you insert into the middle of a file without having to rewrite the whole file.
> e.g.,
> A file containing:
>
> A|B|C|D
> B|C|E|F
>
> I wand to replace the C on the first line with Z in the same file.
> How is this done?
> Thanks.

I recently had to move an entire web server to another platfrom (Novell -> Linux) and
needed a quick way to change the HTML files to look for the icons in a different
directory, etc.  I had no prior programming experience so I read all FAQs I could find,
read some news posts, and grabbed the camel and llama books and came up with:

#!/usr/bin/perl -w

print "Enter filename or use * as a wildcard.\n";
chomp ($test = <STDIN>);
print "Enter search string to be replaced in each file\n";
chomp ($search = <STDIN>);
print "Enter replace string to be entered in each file\n";
chomp ($replace = <STDIN>);

while ( defined($filename = glob($test)) ) {
 open (OLD, $filename) || die "Cannot open $old: $!";

 $new = "$filename.old";
 open (NEW,">$new") || die "Cannot open $new: $!";
  while (<OLD>) {
   s/$search/$replace/g;
   print NEW $_  || die "Cannot write to $new: $!";
  }

 close(OLD)  || die "Cannot close $old: $!";
 close(NEW)  || die "Cannot close $new: $!";
 rename($new,$filename) || die "Cannot rename $new to $filename: $!";
}

This program will take almost anything as input so be careful with *
Your search string will be C
Your replace string will be Z

I have used this program to change the case also, ex ."FILE" to "file"

To Gurus: Any suggestions to refine this program?



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

Date: Mon, 11 Jan 1999 18:30:29 -0800
From: "David Campitelli" <campitelli@digitalblueworld.com>
Subject: how to return HTML to a specific frame
Message-Id: <77ec48$st8$1@fir.prod.itd.earthlink.net>

I am trying to write a script that will update one frame after a form 
submission has been made in a separate frame.

How do I get the script to return the html in the frame that I want.

Dave

campitelli@digitalblueworld.com



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

Date: Tue, 12 Jan 1999 01:47:07 GMT
From: dturley@pobox.com
Subject: Re: perl cgi (win95) doesn't work with CGI.pm
Message-Id: <77e9iq$odm$1@nnrp1.dejanews.com>

In article <369a6b07.2599230@news>,
  el@fiz-karlsruhe.de (Edwin Litterst) wrote:
> A small demo perl script works nice if called from the command line
> but doesn't return anything if CGI.pm is included:
>
> use Cgi;
> print "Content-Type: text/plain\n\n";
> print "Hello, World!\n";
>

Perl is case sensitive, for starters.
____________________________________
David Turley
dturley@pobox.com
http://www.binary.net/dturley/

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Tue, 12 Jan 1999 01:49:02 GMT
From: topmind@technologist.com
Subject: Re: Perl Criticism
Message-Id: <77e9md$oep$1@nnrp1.dejanews.com>

In article <7798i6$iad$1@nnrp1.dejanews.com>,
  dturley@pobox.com wrote:
> In article <778f4a$td6$1@nnrp1.dejanews.com>,
>   topmind@technologist.com wrote:
>
> >
> > Hey Mr. Turkey!
> >
>
> You must still be in third grade if you resort to name calling. You have
> demonstrated your maturity to the world. Can't have an intelligents discusion
> without name calling, I am surprised your mommy and daddy let you use the
> computer.
> ____________________________________


I suppose name calling is 3rd grade, and insults like
this are 4th grade:

"I think you are confusing piss-poor programming practices with language
shortcomings. Your posts have had one good result. Reading them makes me feel
like a damn-good programmer!"  [from D.Turley]

How about this name: "hypocrite!"

-tmind-

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Tue, 12 Jan 1999 01:43:11 GMT
From: topmind@technologist.com
Subject: Re: Perl Criticism
Message-Id: <77e9bf$o2k$1@nnrp1.dejanews.com>

In article <773kmp$sen$1@marina.cinenet.net>,
  cberry@cinenet.net (Craig Berry) wrote:
> Martien Verbruggen (mgjv@comdyn.com.au) wrote:
> : In article <7739gu$ial$1@nnrp1.dejanews.com>,
> : 	topmind@technologist.com writes:
> : > Scripting languages are a subset of programming languages. C, C++,
> : > Pascal, and Java are NOT scripting languages, for example.
> :
> : Huh? This is one that you made up, I suppose? How is sh or csh a
> : subset of a programming language?
>
> I think you've misunderstood his statement.  There is a set of all
> programming languages.  His assertion is that there is a well-defined
> subset of this set which he labels "scripting languages."  He further
> asserts that C, C++, Pascal, and Java are not in the "scripting languages"
> subset.  Presumably, sh and awk and Perl would be in this subset.
>
> : You're only convincing me more that you don't really know what you're
> : talking about. There is no real distinction between scripting and
> : programming languages. It is an artificial one, and not defined by
> : anything globally or generally.
>
> Rather, as he appear to be using the terms, and as I have done myself in
> other posts, he is using "programming language" as the most general term,
> defining the superset, and "scripting language" to refer to a subset of
> programming languages.  How to define this subset is the only real issue
> (or, conversely, showing that it cannot be meaningfully defined).
>
> It is clear that there is a continuum of "script-ness" in languages.  For
> example:
>
> * C          Compiled/linked to machine code, executed directly
> * Java       Compiled to bytecode before use, executed by virtual machine
> * Perl       Compiled to bytecode on each execution, exec'd by "VM"
> * sh         Compiled line-by-line as read, executed by shell
>
> Where one drops the "scripting language" divide into this kind of sequence
> is the root of all argument on this topic.
>
> : Depending on which criteria you use,
> : perl is seen as a programming language, or a scripting language.
>
> By my definition, which I believe matches the original posters', all
> scripting languages are programming languages.  We need a better term for
> the complementary subset than "nonscripting languages," but nothing both
> pithy and accurate springs to mind.


How about "loose-typed languages" versus "strong-typed" languages?
BTW, an equation for a perfect dichotomy is probably not possible
as I described in my "Country Music" messages.

-tmind-
http://www.geocities.com/SiliconValley/Lab/6888/

>
> --
>    |   Craig Berry - cberry@cinenet.net
>  --*--    Home Page: http://www.cinenet.net/users/cberry/home.html
>    |      "The hills were burning, and the wind was raging; and the
>        clock struck midnight in the Garden of Allah."
>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Tue, 12 Jan 1999 02:05:23 GMT
From: topmind@technologist.com
Subject: Re: Perl Criticism
Message-Id: <77eal2$pc8$1@nnrp1.dejanews.com>

In article <tfs777.a0u.ln@magna.metronet.com>,
  tadmc@metronet.com (Tad McClellan) wrote:
> [...]
> : Thank You. - topmind@technologist.com -
> : (Note: I avoid using my real name on Usenet to reduce
> : spam and other junk-mail.)
>            ^^^^^
>
>    Yet another display of insightful logic.
>
>    All that is required to be spammed is an email address, whether
>    incorporating your real name or an alias.
>
>    Perlhaps he should have said "I avoid using my real name on
>    Usenet to reduce the probability of being thwacked on the
>    head should we meet in the real world"  ;-)
>
>    What member of the set of junk-mail is not also a member
>    of the set of spam?...
>
> --
>     Tad McClellan                          SGML Consulting
>     tadmc@metronet.com                     Perl programming
>     Fort Worth, Texas
>

For your information, muckhunter2, it allows me to split my e-mail
into regular e-mail and "Usenet exposed" e-mail. Thus, keeping
it separate. It can give less attention and be more delete-happy
with the second.

However, since you fools made me realize that 20% of all
thread posters get high of off attacking people personally
instead of dealing with the merit of the issues, it was
correct of me to use an alias.

In answer to your second question, sometimes people send
an e-mail AND post to the newsgroup. Being redundant,
I consider it "junk", but it is not really "spam"

-tmind-

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Mon, 11 Jan 1999 20:42:23 -0600
From: "Michael D. Schleif" <mds-resource@mediaone.net>
Subject: Re: Perl Criticism
Message-Id: <369AB68F.39C6BF2E@mediaone.net>


Craig Berry wrote:
> 
> Michael D. Schleif (mds-resource@mediaone.net) wrote:
> : Yes, a single, discrete element can also be a subset of a set of
> : elements.
> 
> No it can't; it can be a member (perhaps the only member) of a subset,
> however.

subset n : a set each of whose elements is an element of an inclusive
set

set n : a number of things of the same kind that belong or are used
together

Clearly, one (1) is a number.  Depending on *your* sources and context,
a set of one (1) is trivial, but entirely possible.  A set of one (1)
obviously qualifies by this definition of subset.

Would you say, therefore, that a subset *is not* a member of any set? 
Or, that a set *cannot* be a member of a greater, but at this moment
unknown, set?  If a group of members can be a subset of some set and you
remove one member at a time from that group, at what point is that
`group' no longer a subset?

If you still disagree, please, be so kind as to cite your sources, as
well as definitive proof that that is the *only possible* definition ;)

> : Nevertheless, I continue to fail to see the point of such discrimination
> : -- to what end?
> 
> People naturally categorize; it's a good strategy for organizing the
> world, so you don't have to start reasoning about every new thing you
> encounter from scratch.  I see a plant, and I know a few default things
> about it -- likely to have leaves, likely to have roots, may be edible,
> may provide building/craft material, and so forth.  If I see a desert
> plant, I add "may have spines or sharp parts," and thus handle it
> carefully.  The fact that I might needlessly shy away from grabbing a
> cottonwood branch is well repaid by avoiding hugging a cholla. :)
> 
> Similarly, fuzzy concepts like "scripting language" allow us to reason
> about languages about which we know almost nothing.  The danger is that we
> may draw false conclusions, or misclassify languages, but again,
> categorization works because/when it's right more often than not.

Craig, come on!  What you have written is clear to me and with it, in
and of itself, I take no issue.  Simply because we can distinguish
between any two (2) entities, is that reason to change either?

Is topmind's contention that Perl should be changed simply because we
*can* discern between scripting and non-scripting languages?  IMHO, it
appears that he `implies' that their is something intrinsically *wrong*
with scripting languages -- proof of that is _what_ I do not see . . .

That that proof may, indeed, be explicit in his arguments, and that I
simply *do not* see it, is possible.  Enlighten me ;)

-- 

Best Regards,

mds
mds resource
888.250.3987

"Dare to fix things before they break . . . "

"Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . . "


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

Date: Mon, 11 Jan 1999 20:45:14 -0600
From: "Michael D. Schleif" <mds-resource@mediaone.net>
Subject: Re: Perl Criticism
Message-Id: <369AB73A.2C48D41B@mediaone.net>

topmind@technologist.com wrote:
> 
> It is my opinion that most of the academic types who write
> those papers do very little typical, real world work.

Please, might we take a tiny peak at any of your ``real world work?''

-- 

Best Regards,

mds
mds resource
888.250.3987

"Dare to fix things before they break . . . "

"Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . . "


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

Date: Mon, 11 Jan 1999 20:50:53 -0600
From: "Michael D. Schleif" <mds-resource@mediaone.net>
Subject: Re: Perl Criticism
Message-Id: <369AB88D.D24769A@mediaone.net>


topmind@technologist.com wrote:
> 
> Very? It is about a 15% increase is characters. How does that
> qualify as "Very"?

Well, if you are going to orbit the moon and your trajectory is off by
15%, then you are *very* lost.

If you write a check for 15% more than you have funds, then you are
*very* broke and probably *very* much in trouble.

Of course, if you argue for brevity, then use your own example that
increases by 15% that for which you preach brevity, then that might be
*very* trivial ;)

-- 

Best Regards,

mds
mds resource
888.250.3987

"Dare to fix things before they break . . . "

"Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . . "


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

Date: Mon, 11 Jan 1999 20:52:23 -0600
From: "Michael D. Schleif" <mds-resource@mediaone.net>
Subject: Re: Perl Criticism
Message-Id: <369AB8E7.D6A9F7A5@mediaone.net>

topmind@technologist.com wrote:
> 
> You call it what you want, and I will call it what I want.

And, folks, that pretty much summarizes this entire thread }:-^

-- 

Best Regards,

mds
mds resource
888.250.3987

"Dare to fix things before they break . . . "

"Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . . "


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

Date: Mon, 11 Jan 1999 20:55:32 -0600
From: "Michael D. Schleif" <mds-resource@mediaone.net>
Subject: Re: Perl Criticism
Message-Id: <369AB9A4.A5C4AAF6@mediaone.net>

topmind@technologist.com wrote:
> 
> In article <slrn79ggu1.cjr.dformosa@godzilla.zeta.org.au>,
>   dformosa@zeta.org.au (David Formosa (aka ? the Platypus)) wrote:
> > >
> > >@_(-->$/(.)/up/Your*$s\\|>you&%!$@#crypt=++||#@tol<>>??logists!@#
> >
> > Thats not valid perl.
> 
> But I bet it is only a few keystrokes away from being runnable.

Prove it, or shut up }:-^

-- 

Best Regards,

mds
mds resource
888.250.3987

"Dare to fix things before they break . . . "

"Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . . "


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

Date: 12 Jan 1999 02:02:08 GMT
From: randy@theory.uwinnipeg.ca (Randy Kobes)
Subject: Re: Perl Magick, under NT4, installation trouble ( CL.EXE )
Message-Id: <slrn79lbr0.a5u.randy@theory.uwinnipeg.ca>

On Mon, 11 Jan 1999 15:18:52 -0600, Micah Roark <mroark@amerisale.com> wrote:
>I am trying to install Perl Magick, the perl interface to Image Magick
>(command-line image manipulation) from
>http://www.wizards.dupont.com/cristy/
>(Perl Magick: http://www.wizards.dupont.com/cristy/www/perl.html)
>Summary: after all the hard work, it turns out I am missing CL.EXE , so
>cannot continue.
>
>Unfortunately, Image Magick and Perl Magick must be setup on NT in my case,
>therefore the installation has proven quite painful. After wrestling with
>ActiveState's Perl 316, and discovering that I only had the core, and that I
>needed the "ActivePerl" distribution which includes the normal modules
>needed for MakeFiles (this is all new to me), I am finally ready
>to run "nmake" to install perlmagick. I do not have access to a copy of
>Microsoft Visual C++, so to get nmake, I had to search the net for it. I
>found an obscure link to support files hidden deep within
>microsoft.com/support (no where could you find this link in microsoft's
>support section) which produced a distributable version of NMAKE.EXE for
>NT4/win32.
>
>Upon downloading and running Nmake on the makefile
>    perl Makefile.pl
>    ..../nmake
>    ..../nmake install
>nmake reports a fatal error, unable to locate CL.EXE. Ah, so cl.exe is not
>included with the Microsoft distribution of nmake. (which brings to mind,
>why distribute nmake for use with net scripts if you are only going to need
>cl.exe anyway??? again, microsoft shines through with pure brilliance.)

Hi,
   Actually, for perl nmake by itself is quite useful - you can use
it to install non-XS based modules.
   But it is true that for XS modules you need a C compiler,
which is CL.EXE (Visual C++). So you'll either have to pay for
one, or if you'd really rather not, try some free tools like those
from cygwin. But for this you'd have to recompile perl, as the
binaries most likely aren't compatable with the ActiveState ones.
   By the way, ActiveState maintains a service to install extra
modules called the perl Package Manager (ppm) - documents on how to
use it are included in the distribution. Some of these are XS-based
modules - a complete list is at
	http://www.activestate.com/packages/zips/
However, the ImageMagick package doesn't seem to be among them.
I'm not sure how ActiveState responds to such requests, but perhaps
if enough people requested a given module, they may make it 
available.

-- 
		Best regards,
		Randy Kobes

Physics Department		Phone: 	   (204) 786-9399
University of Winnipeg		Fax: 	   (204) 774-4134
Winnipeg, Manitoba R3B 2E9	e-mail:	   randy@theory.uwinnipeg.ca
Canada				http://theory.uwinnipeg.ca/


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

Date: Tue, 12 Jan 1999 02:31:54 GMT
From: pacman@defiant.cqc.com (Alan Curry)
Subject: Re: rpm 5.005_?? ? DANGER
Message-Id: <uuym2.110$EE.2099@news7.ispnews.com>

In article <4waezpbmte.fsf@dre2.polytechnique.fr>,
Pascal Rigaux  <pixel_@geocities.com> wrote:
>go to filewatcher.org, search for perl*005*i386*, you'll find :
>
>ftp://contrib.redhat.com/libc6/i386/
>
>  3689k 1998-08-11 i  perl-5.005_02-1.i386.rpm  ->rh c. i386 gl

Watch out for this perl rpm. It was compiled with threads enabled, and
threads are a new experimental feature in perl 5.005, which have some weird
side effects, even on scripts which do not use the feature. In some cases
these side effects are documented, but there are definitely bugs too. Do not
blindly "rpm -U" this on top of a working 5.004 install if you expect your
existing scripts to continue working. I did, and I suffered mysterious
breakage as a result. (See the c.l.p.m post
<Ljhk2.581$NN6.2743@news14.ispnews.com> and its followups for the story)

I hope the contrib.redhat.com maintainer will rename that thing to
perl-threaded-5.005_02-1.i386.rpm, before it hurts anyone else.
-- 
Alan Curry                                echo cnpzna@pdp.pbz | tr a-z n-za-m
The lbxproxy program has various options, all of which are optional.
                                                               -- lbxproxy(1)


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

Date: Tue, 12 Jan 1999 01:45:36 GMT
From: bluepuma@mailexcite.com
Subject: unpack un/signed integers
Message-Id: <77e9g0$ocm$1@nnrp1.dejanews.com>

Hi there,

I'm using ($clientID,$objectID)=unpack("II", $satz); to read some data
from a binary file. But although the "I" stands for unsigned integer,
I still get negative numbers when I use print "$clientID";

Is that a problem of perl 5.002 under HP-UX or am I doing something wrong ?


regards   Michael

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: Mon, 11 Jan 1999 21:17:21 -0500
From: dragons@scescape.net (Matthew Bafford)
Subject: Re: URGENT: Array of arrays...
Message-Id: <MPG.11047abcddccbc2a989787@news.scescape.net>

In article <3699f2e9.37866128@news.ukonline.co.uk>, 
corruptor@terry.org.uk pounded in the following:
=> Please Help! I'm getting desperate...

[snip qs about refs]

Try:

     http://language.perl.com/newdocs/pod/perlreftut.html

It should answer your questions and more.

=> Many thanks for your help (in advance!)

Hope This Help(s|ed)!

--Matthew


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

Date: Sat, 9 Jan 1999 17:00:20 +0800
From: "Jamie Bekkers" <jtb@bekkers.com.au>
Subject: Using a Form in HTML and a Perl Script.
Message-Id: <77e6nm$j1$1@news.bekkers.com.au>

Hello.

This may be the wrong group but here goes.

I am using the following perl script,
http://buckaroo.xo.com/MRTG/calculate_traffic.pl

The instructions are:

Fourth, a very simple script for calculating total bandwidth over a line
between any two dates, given the .log file. This requires perl 5.004 or
later; don't try it with buggy versions of 5.003. To use it, simply call it
like this:
calculate_traffic.pl LOGFILE MM-DD-YYYY-HH:MM MM-DD-YYYY-HH:MM
e.g.
calculate_traffic.pl mylogfile.log 01-01-1997-00:00 12-31-197-23:59

I can get this to run from the console, but I can not work out the code to
put this in a web page.  I would like a web page that asks for the logfile
and then prompts separate boxes for the date and times.

If anyone could help me with some html code to acheive this I would be most
thankful.

Regards
Jamie.




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

Date: Tue, 12 Jan 1999 01:55:31 GMT
From: win32apacheguy@my-dejanews.com
Subject: Re: where to download the perl 5.0052.zip for win32 ??
Message-Id: <77ea2i$os5$1@nnrp1.dejanews.com>

Got a direct download link on the resources page at:

http://ApacheWin32.Digispec.com

Let me know if this helps!
Andrew



In article <761edk$hba$1@nnrp1.dejanews.com>,
  thankyouverymuch@my-dejanews.com wrote:
> Please tell me where can I download the perl 5.0052.zip file for NT4?? I have
> been perl.com many times but I cannot found the location.... I just found
> the x86perl50052.tar.gz which is seems not win32 file extension.
>
> I need the original perl not the activestate since I will use it with the
> mod_perl apache.
>
> Thank You very much.
> BIGJohn
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    


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

Date: 12 Dec 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Special: Digest Administrivia (Last modified: 12 Dec 98)
Message-Id: <null>


Administrivia:

Well, after 6 months, here's the answer to the quiz: what do we do about
comp.lang.perl.moderated. Answer: nothing. 

]From: Russ Allbery <rra@stanford.edu>
]Date: 21 Sep 1998 19:53:43 -0700
]Subject: comp.lang.perl.moderated available via e-mail
]
]It is possible to subscribe to comp.lang.perl.moderated as a mailing list.
]To do so, send mail to majordomo@eyrie.org with "subscribe clpm" in the
]body.  Majordomo will then send you instructions on how to confirm your
]subscription.  This is provided as a general service for those people who
]cannot receive the newsgroup for whatever reason or who just prefer to
]receive messages via e-mail.

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.misc (and this Digest), send your
article to perl-users@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.

The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.

The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.

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 V8 Issue 4624
**************************************

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