[8870] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 2487 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon May 4 00:06:58 1998

Date: Sun, 3 May 98 21:00:26 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sun, 3 May 1998     Volume: 8 Number: 2487

Today's topics:
    Re: Array of Arrays, sorting and using (Martien Verbruggen)
    Re: Complete Newbie - Where do I start? <rootbeer@teleport.com>
        Debugging Process <jeff@jwpc.com>
    Re: Debugging Process <jdf@pobox.com>
        Determining Disk Space <jeff@jwpc.com>
    Re: Determining Disk Space <p-fein@uchicago.edu>
    Re: email attachments (Alan Barclay)
    Re: endians <rootbeer@teleport.com>
    Re: How do I print an array in the format I want it? <lr@hpl.hp.com>
        Length of a variable niting@cyberdude.com
    Re: Perl and Emacs question - perl debugging mode  & cp <jasons@cs.unm.edu>
    Re: PErl Functions <rjk@coos.dartmouth.edu>
    Re: PErl Functions <jdf@pobox.com>
    Re: Perl script doesn't work (Martien Verbruggen)
    Re: perl win32 - newbie help (Martien Verbruggen)
    Re: regex help - Follow-up <rjk@coos.dartmouth.edu>
    Re: Strange problem. <webmaster@fccjmail.fccj.org>
    Re: Strange problem. <btate@primary.net>
    Re: Strange problem. <rjk@coos.dartmouth.edu>
    Re: traverse a hash (Mark-Jason Dominus)
    Re: traverse a hash <jdf@pobox.com>
    Re: where is html file servred from <rootbeer@teleport.com>
    Re: Win32 reading in passwords (Martien Verbruggen)
    Re: Win32 reading in passwords (Michael Rubenstein)
        WinNT question? (Was099)
        Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

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

Date: 4 May 1998 02:40:29 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Array of Arrays, sorting and using
Message-Id: <6ij9qt$occ$1@comdyn.comdyn.com.au>

In article <eggsite-ya023380000305981248570001@news.snafu.de>,
	eggsite@berlin.snafu.de (bernd wolfsegger) writes:
> In article <comdog-ya02408000R0205981725380001@news.panix.com>,
> comdog@computerdog.com (brian d foy) wrote:
> 
>> In article <eggsite-ya023380000205982302240001@news.snafu.de>,
> eggsite@berlin.snafu.de posted:
>> 
>> >can anybody tell me how I can sort an Array of Arrays (No Hashes),
>> >depending on the Arraysfields of the Array.
>> >And then put the sorted thing in another Array to use it?

Maybe you should reverse the strategy: First you make a copy of the
unsorted list, then you sort one of the two copies. Unless, of course,
you want both of them to be sorted.

>> 
>> the perldsc and perllol manpages have lots of examples.
>> 
>> good luck :)
>> 
> thats right, but its the same as in the camelbook. And I can't find any
> example of sorting an array of arrays, just array of hashes etc...
> but perhaps there other manpages otherwhere? or all the manpages on all
> mirrors are the same?

Have you had a look at perlfaq4?

# perldoc perlfaq4
/How do I sort an array by (anything)?

Or you might want to have a look at the FMTYEWTK article, called 'Lots
of details on sorting', from
http://www.perl.com/CPAN/doc/FMTEYEWTK/index.html

Martien
-- 
Martien Verbruggen                      |
Webmaster www.tradingpost.com.au        | "In a world without fences,
Commercial Dynamics Pty. Ltd.           |  who needs Gates?"
NSW, Australia                          |


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

Date: Mon, 04 May 1998 02:03:34 GMT
From: Tom Phoenix <rootbeer@teleport.com>
To: Arch <brian.archer@mailexcite.com>
Subject: Re: Complete Newbie - Where do I start?
Message-Id: <Pine.GSO.3.96.980503190039.14139B-100000@user2.teleport.com>

On Tue, 5 May 1998, Arch wrote:

> I need to be up to speed in about three weeks!

Besides the good suggestions that others have made about documentation, it
would almost certainly help you to enroll in a good class.

    http://www.perltraining.com/schedules.html

Hope this helps!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



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

Date: Sun, 3 May 1998 21:20:46 -0400
From: "Jeff Wilcox" <jeff@jwpc.com>
Subject: Debugging Process
Message-Id: <6ij59n$qal$1@news2.triton.net>

Dear Perl Gods,

    I've been doing Perl for some time, but I need to know from a master how
I should be debugging... What doth thou suggest?

    ThanX in advance.

    JMW




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

Date: 03 May 1998 21:32:22 -0500
From: Jonathan Feinberg <jdf@pobox.com>
To: "Jeff Wilcox" <jeff@jwpc.com>
Subject: Re: Debugging Process
Message-Id: <yawizryh.fsf@mailhost.panix.com>

"Jeff Wilcox" <jeff@jwpc.com> writes:

> I've been doing Perl for some time, but I need to know from a master
> how I should be debugging... What doth thou suggest?

Readest Thou the Fuckynge Manual?  

  C:\> perldoc perldebug

-- 
Jonathan Feinberg   jdf@pobox.com   Sunny Brooklyn, NY


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

Date: Sun, 3 May 1998 21:21:43 -0400
From: "Jeff Wilcox" <jeff@jwpc.com>
Subject: Determining Disk Space
Message-Id: <6ij5bj$qas$1@news2.triton.net>

I'm trying to calculate how much disk space is taking in a directory and all
of it's subdirs.. What's the fastest way to calculate this?

JMW




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

Date: Mon, 4 May 1998 02:00:07 GMT
From: Peter A Fein <p-fein@uchicago.edu>
Subject: Re: Determining Disk Space
Message-Id: <87bttessm0.fsf@bj2-64.rh.uchicago.edu>

"Jeff Wilcox" <jeff@jwpc.com> writes:

> I'm trying to calculate how much disk space is taking in a directory and all
> of it's subdirs.. What's the fastest way to calculate this?

On unix, try `du`.  Easily parseable results too.

-- 
Peter Fein                                                         773-834-6206
1005 E. 60th St.                                              Chicago, IL 60637
p-fein@uchicago.edu                                   http://pfein.home.ml.org/



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

Date: 4 May 1998 02:07:51 GMT
From: gorilla@elaine.drink.com (Alan Barclay)
Subject: Re: email attachments
Message-Id: <894247669.777248@elaine.drink.com>

In article <354BC3F0.2CE@comenius.ms.mff.cuni.cz>,
Jan Krynicky  <jkry3025@comenius.ms.mff.cuni.cz> wrote:
>I don't think it's very likely that there is no machine with an SMTP
>daemon available
>around. But experiences vary.

There are still systems using UUCP for email, perhaps even without
any TCP networking at all.





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

Date: Mon, 04 May 1998 01:58:04 GMT
From: Tom Phoenix <rootbeer@teleport.com>
To: Lee W Jones <lj25+@andrew.cmu.edu>
Subject: Re: endians
Message-Id: <Pine.GSO.3.96.980503184422.14139A-100000@user2.teleport.com>

On Sun, 3 May 1998, Lee W Jones wrote:

> Newsgroups: comp.lang.perl, comp.lang.perl.misc

comp.lang.perl has been defunct for so long that when it was still active,
OJ was still in jail. :-)  You can stop crossposting there.

> I can't find any documentation on pulling out endian specific floats,
> doubles, etc.  Is there an easy way of doing this or is it going to be a
> matter of writing the routines in C and calling them externally? 

The reason you haven't find anything is that there's no one way to do it,
since there is no one universal floating point format. :-P  Making a
module is the way to go. In fact, if you can do so, make your code
sufficiently general that you can install it onto CPAN as a module. I'm
sure that others would find it useful. Thanks!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



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

Date: Sun, 3 May 1998 18:56:59 -0700
From: "Larry Rosler" <lr@hpl.hp.com>
Subject: Re: How do I print an array in the format I want it?
Message-Id: <6ij7bg$ef6@hplntx.hpl.hp.com>

Randal Schwartz wrote in message <8c7m43jotr.fsf@gadget.cscaper.com>...
 ...
>I'd probably try something like this:
>
>    sub pad_ip {
> my $ip = shift;
> sprintf "%3d.%3d.%3d.%3d", split /\./, $ip;
>    }
>
>That's pretty clean, and it doesn't introduce all that extra
>verbosity.

 ...

Or, even pithier,

    sub pad_ip {
        sprintf "%3d.%3d.%3d.%3d", split /\./, shift;
    }

But who would want to engage in a pithing contest with Randal
Schwartz???

--
Larry Rosler
Hewlett-Packard Laboratories
lr@hpl.hp.com





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

Date: Sun, 03 May 1998 21:53:57 -0600
From: niting@cyberdude.com
Subject: Length of a variable
Message-Id: <6ijak5$dk0$1@nnrp1.dejanews.com>

Is there any function in PERL which will return the length of a variable?

e.g:

$foo = "hello";

length of $foo is 5 (numeric)

Thanks in advance.

-Nitin

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading


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

Date: 03 May 1998 21:41:55 -0600
From: Jason Stewart <jasons@cs.unm.edu>
Subject: Re: Perl and Emacs question - perl debugging mode  & cperl-mode vs perl-mode??
Message-Id: <xjnsomqsnwc.fsf@infinity.cs.unm.edu>

>>>>> "chuck" == chuck kovacs <chuckk@monmouth.com> writes:
chuck> 3) Also I am using the perl mode that came with emacs 20.2.1, what does
chuck> the cperl-mode.el

You want to be using cperl-mode. It was written by Ilya Z. who also
wrote the perl debugger, and is much better (opinion) than the builtin 
mode. It was designed for use with GNU Emacs and some things don't
work as well with XEmacs as they do with Emacs, Ilya doesn't waste his 
time supporting both :-(

jas.


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

Date: Sun, 03 May 1998 22:21:07 -0400
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
Subject: Re: PErl Functions
Message-Id: <354D2616.FD0F9E74@coos.dartmouth.edu>

Destini T. Butler wrote:
> 
> what does the Perl built in function "die" do?  and what is the snytax and
> synopsis for this function

die LIST
        die() takes a list of users who post questions that are clearly
        answered in Perl's documentation and instructs each of them to
        die.  Returns the number of users that followed the instruction.

-- 
 _ / '  _      /         - aka -             rjk@coos.dartmouth.edu
( /)//)//)(//)/(    Ronald J. Kimball           chipmunk@m-net.arbornet.org
    /                                   http://www.ziplink.net/~rjk/
        "It's funny 'cause it's true ... and vice versa."


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

Date: 03 May 1998 23:57:21 -0500
From: Jonathan Feinberg <jdf@pobox.com>
To: rjk@coos.dartmouth.edu
Subject: Re: PErl Functions
Message-Id: <wwc2fxam.fsf@mailhost.panix.com>

Ronald J Kimball <rjk@coos.dartmouth.edu> writes:

> Destini T. Butler wrote:
> > 
> > what does the Perl built in function "die" do?  and what is the snytax and
> > synopsis for this function
> 
> die LIST
>         die() takes a list of users who post questions that are clearly
>         answered in Perl's documentation and instructs each of them to
>         die.  Returns the number of users that followed the instruction.

Hmm.  Perhaps you ought to consider warn().  At any rate, as with
alarm/sleep, die() doesn't work well with confess().  HTH.

-- 
Jonathan Feinberg   jdf@pobox.com   Sunny Brooklyn, NY


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

Date: 4 May 1998 03:07:06 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Perl script doesn't work
Message-Id: <6ijbcq$ojf$1@comdyn.comdyn.com.au>

Subject: Re: Perl script doesn't work

Please read the following information on how to choose a good subject
line:

http://www.perl.com/CPAN/authors/Dean_Roehrich/subjects.post

In article <354C9EE5.52E@webcom.com>,
	Unk <unk@webcom.com> writes:
> I have a perl script on my server that doesn't work when run directly
> from Netscape, it just spawns a message box that says "Document contains
> no data".

What are you talking about? 'run directly from netscape'? What does
that mean? Is the script stored on one of Netscape's servers? Do you
have a Netscape server? Are you trying to load it into your Netscape
browser? What?

> Note that this script runs fine when run explicitly with perl5.  (The
> first line in the script explicitly runs perl5).

If it runs from the command line, but not as a CGI, you can almost
be certain that you have a CGI problem, NOT a perl problem.
In the future, if you have a question like this, check out the
following documentation:

Perl CGI FAQ and (no offense) Idiot's guide:

http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html
http://www.perl.com/CPAN/doc/FAQs/cgi/perl-cgi-faq.html

Section 9 of the perl FAQ:

# perldoc perlfaq9

> The permissions of the script are as follows
> 
> % ls -l shredwrist.cgi
> -rwxr-xr-x  1 bchapman  mosaic  342 May  2 22:40 shredwrist.cgi
> 
> Note that I have other scripts with identical permissions in the same
> directory that run just fine from Netscape.
> Note I am trying to run the thing as a different user than the owner or
> group.  For some reason this works with other files with the same
> permissions.

The script will run as the user that starts it up. If this is a CGI
that is run from a web server, then it will run as the user that the
web server runs as. I don't see what this has to do with perl?
I also don't see how you are 'trying to run' it as a different user. I
don't see any suid stuff. How does this have anything to do with the
group anyway?

> If you want to see the Perl source, I copied it to an identical file
> 
>     http://www.best.com/~bchapman/cgi/shredwrist.txt
> 
> so you can view it.

Sjeez, the thing is so small that you really could have included it.

And now to the perl stuff, finally:

> #!/usr/local/bin/perl5

You should use the -w flag.
You should use 'use strict'.

Both of the above will help you tremendously when your scripts start
being larger than 4 lines. Of course, neither of the two will warn you
about CGI problems.

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

This is wrong. To find out why, check one of your other scripts, or
visit one of the CGI groups.

> print "<html>";
> print "<head>";
> print "<title>ShredGeezer Member List</title>";
> print "</head>";
> 
> print "<body bgcolor=\"#ff3333\">\n";
> 
> print "<h2>ShredGeezer Member List</h2>";

You could, and maybe should, use a here-doc syntax.

print <<EOHTML;
	<stuff>
	<more "stuff">
EOHTML

> open(LISTFILE, "data/shredlist.txt");

You don't check the return value of open. How do you know it
succeeded?

> @lines = <LISTFILE>;
> foreach $line (@lines) {
>   print $line;
> }

You don't close the file, which is poor programming practice.

Why don't you just do this as:

open(ZZZ, "blabla") || die "open of blabla failed: $!";
print <ZZZ>;
close(ZZZ);

If you want something more intelligent than the die, use CGI and
CGI::Carp.

> My return e-mail address here works: 

I'd hope so.

> please cc it in your reply.

nope. Post here, read here. This is not a help desk, this is a
newsgroup.

Martien
-- 
Martien Verbruggen                      |
Webmaster www.tradingpost.com.au        | "In a world without fences,
Commercial Dynamics Pty. Ltd.           |  who needs Gates?"
NSW, Australia                          |


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

Date: 4 May 1998 01:05:41 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: perl win32 - newbie help
Message-Id: <6ij495$nm8$6@comdyn.comdyn.com.au>

In article <01bd76ee$fe4a0600$25bb15a5@default>,
	"DAVID CHEW" <dcc1234@pacific.net.sg > writes:
> hi,
> How do I call/run/execute the programs created
> on perl win32 ?

You need the perl interpreter.

http://www.perl.com/latest.html

> Can I execute it from nescape itself
> I mean, like as though I on the internet,
> and my local computer acting as a server.

For this you will need a web server. Ask on one of the
comp.infosystems.www.* groups which one. This has nothing to do with
perl.

and read:

Perl CGI FAQ and (no offense) Idiot's guide:

http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html
http://www.perl.com/CPAN/doc/FAQs/cgi/perl-cgi-faq.html

Section 9 of the perl FAQ:

# perldoc perlfaq9

> As I dont regularly visit this newsgroup
> Would appreciate if replies goes direct to 
> my email dcc1234@pacific.net.sg

Pity. you won't see this then.

This really, really is very rude. You ask a question, but you are not
even planning on putting in a little bit of work to get the answer.
And what's more, you even tell us that you don't want to. What is
wrong with actually reading this group for a week after asking a
question?

Martien
-- 
Martien Verbruggen                      |
Webmaster www.tradingpost.com.au        | "In a world without fences,
Commercial Dynamics Pty. Ltd.           |  who needs Gates?"
NSW, Australia                          |


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

Date: Sun, 03 May 1998 22:05:26 -0400
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
Subject: Re: regex help - Follow-up
Message-Id: <354D2268.7592D1BA@coos.dartmouth.edu>

Bill 'Sneex' Jones wrote:
> 
> Ronald J Kimball wrote:
> > 
> > I'm not sure what you mean by "all matches return an extra character".
> >
> > If you just want the substring matched by (identifier), use $2.  Or, if you're
> > doing the match in a list context and only want to get the substring matched
> > by (identfier), then change (^|[^.]) to (?:^|[^.]).
> >
> > > print $strTest =~ /(^|[^.][^.])(\.)/, "\n";
> 
> The  (^|  <---- This isn't an OR is it?

Yes, it is.  In a regex, it is also called 'alternation'.  That matches the
beginning of the string, or...

> and the
> (^|[^.]) portion returns an extra character before matched
> character as well as the matched character, right?  So long
> as the match wasn't at the beginning of the string?
> So, (^|[^.][^.]) will return TWO characters before the
> matched text as well as the matched text?

Yes, it will.  That's what capturing parentheses do; they capture a portion of
the matched string.

I explained how to deal with that, but for some reason you didn't quote that
part.  Here it is again:

If you just want the substring matched by (identifier), use $2.  Or, if you're
doing the match in a list context and only want to get the substring matched
by (identfier), then change (^|[^.]) to (?:^|[^.]).

-- 
 _ / '  _      /         - aka -             rjk@coos.dartmouth.edu
( /)//)//)(//)/(    Ronald J. Kimball           chipmunk@m-net.arbornet.org
    /                                   http://www.ziplink.net/~rjk/
        "It's funny 'cause it's true ... and vice versa."


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

Date: Mon, 04 May 1998 02:14:40 GMT
From: Bill 'Sneex' Jones <webmaster@fccjmail.fccj.org>
Subject: Re: Strange problem.
Message-Id: <354D22D5.392D39BB@fccjmail.fccj.org>

Bob Tate wrote:
> 
> Bill,
> 
> I think I just discovered my error and as I suspected, it was operator error
> <sheepish grin>.  the file that I am getting the PRN from is a 7-digit
> field.  All my PRN's are 6 or less digits thereby making at least the first
> field a blank, which Perl does not like as the leading character in a file
> name.
> 
> Bob

Hmmmm.  Possibly, but Perl will like it fine if quoted with
single quotes.

-Sneex-  :-)
____________________________________________________________________________
Bill Jones | FCCJ Webmaster | Voice 1-904-632-3089 | Fax 1-904-632-3007
Florida Community College at Jacksonville | 501 W. State St. | Jax, FL 32202
mailto:webmaster@fccjmail.fccj.org | http://webmaster.fccj.org/Webmaster


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

Date: Sun, 3 May 1998 21:21:12 -0500
From: "Bob Tate" <btate@primary.net>
Subject: Re: Strange problem.
Message-Id: <354d2648.0@news.primary.net>

Bill,

It was not that Perl did not like the leading spaces.  In fact, Perl could
care less it the first character was a space.  It is Unix.  Unix, like Dos,
does not allow the first character to be a space.  When I converted all the
leading spaces to zeros, it worked fine.

Bill 'Sneex' Jones wrote in message <354D22D5.392D39BB@fccjmail.fccj.org>...
>Bob Tate wrote:
>>
>> Bill,
>>
>> I think I just discovered my error and as I suspected, it was operator
error
>> <sheepish grin>.  the file that I am getting the PRN from is a 7-digit
>> field.  All my PRN's are 6 or less digits thereby making at least the
first
>> field a blank, which Perl does not like as the leading character in a
file
>> name.
>>
>> Bob
>
>Hmmmm.  Possibly, but Perl will like it fine if quoted with
>single quotes.
>
>-Sneex-  :-)
>___________________________________________________________________________
_
>Bill Jones | FCCJ Webmaster | Voice 1-904-632-3089 | Fax 1-904-632-3007
>Florida Community College at Jacksonville | 501 W. State St. | Jax, FL
32202
>mailto:webmaster@fccjmail.fccj.org | http://webmaster.fccj.org/Webmaster



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

Date: Sun, 03 May 1998 22:27:14 -0400
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
Subject: Re: Strange problem.
Message-Id: <354D2785.F2758F3@coos.dartmouth.edu>

Bob Tate wrote:
> 
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0096_01BD76AA.4507D120
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable

Wow, that *is* a strange problem.  I'll bet you could fix it be configuring
your newsreader so it sends text messages instead of multi-part MIME messages.

Hope that helps!

-- 
 _ / '  _      /         - aka -             rjk@coos.dartmouth.edu
( /)//)//)(//)/(    Ronald J. Kimball           chipmunk@m-net.arbornet.org
    /                                   http://www.ziplink.net/~rjk/
        "It's funny 'cause it's true ... and vice versa."


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

Date: 3 May 1998 23:14:07 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: traverse a hash
Message-Id: <6ijbpv$9ok$1@monet.op.net>
Keywords: forum Matson polyploidy relief


In article <pvhudhcr.fsf@mailhost.panix.com>,
Jonathan Feinberg  <jdf@pobox.com> wrote:
>foreach (keys %hash) is suboptimal because it first dumps all of the
>keys of %hash into a list.

However, someone else in another recent thread reported that it was
twice as fast as using while (($k, $v) = each %hash), so it may be
less suboptimal than the alternative.


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

Date: 03 May 1998 23:43:46 -0500
From: Jonathan Feinberg <jdf@pobox.com>
Subject: Re: traverse a hash
Message-Id: <yawifxx9.fsf@mailhost.panix.com>

mjd@op.net (Mark-Jason Dominus) writes:

> Jonathan Feinberg  <jdf@pobox.com> wrote:
> >foreach (keys %hash) is suboptimal because it first dumps all of the
> >keys of %hash into a list.
> 
> However, someone else in another recent thread reported that it was
> twice as fast as using while (($k, $v) = each %hash), so it may be
> less suboptimal than the alternative.

Hmm.  I guess the important thing to watch out for is a tied hash with
a 2-gig file on the other end...

-- 
Jonathan Feinberg   jdf@pobox.com   Sunny Brooklyn, NY


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

Date: Mon, 04 May 1998 02:06:00 GMT
From: Tom Phoenix <rootbeer@teleport.com>
To: Warren Shaklee <wshakle@idt.net>
Subject: Re: where is html file servred from
Message-Id: <Pine.GSO.3.96.980503190501.14139C-100000@user2.teleport.com>

On Sun, 3 May 1998, Warren Shaklee wrote:

>    I have a perl script that dynamically creates a page with an image
> and two java applets, the page is served from my ISP correctly except
> that the java applets can not be found. 

This sounds like an HTML/HTTP protocol problem.

If you're following the proper protocol but some browser or server doesn't
cooperate, then it's the other program's fault. If you're not following
the protocol, then it's your fault. If you aren't sure about the protocol,
you should read the protocol specification. If you've read it and you're
still not sure, you should ask in a newsgroup about the protocol. 

Hope this helps!

-- 
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.rahul.net/jeffrey/ovs/



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

Date: 4 May 1998 01:01:11 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Win32 reading in passwords
Message-Id: <6ij40n$nm8$5@comdyn.comdyn.com.au>

In article <355408c6.197757159@nntp.ix.netcom.com>,
	miker3@ix.netcom.com (Michael Rubenstein) writes:

> You mean the Term::ReadKey that has not instructions for installing
> under the Activestate Win32 port of perl?  If there's a way to install
> it under Activestate, I can't find it.

You'll find this happening more and more often, with all kinds of
modules. ActiveState's perl is severely out of date, it isn't very
'standard', and doesn't really add very much valuable that Gurusamy
Sarathy's port doesn't offer.

Most programmers simply don't want to put in the extra work to make
their modules work under ActiveState's port, while they basically
(often) work out of the box on the standard port. And I find that very
understandeable :)

The only thing that ActiveState has, really, is PerlScript support.
But using Apache and mod_perl solves that problem.

Martien

PS. the release of perl 5.005 will finally put a stop to this
distinction, I hope :)
-- 
Martien Verbruggen                      |
Webmaster www.tradingpost.com.au        | "In a world without fences,
Commercial Dynamics Pty. Ltd.           |  who needs Gates?"
NSW, Australia                          |


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

Date: Mon, 04 May 1998 02:46:02 GMT
From: miker3@ix.netcom.com (Michael Rubenstein)
Subject: Re: Win32 reading in passwords
Message-Id: <354d2757.205582351@nntp.ix.netcom.com>

On 4 May 1998 01:01:11 GMT, mgjv@comdyn.com.au (Martien Verbruggen)
wrote:

>In article <355408c6.197757159@nntp.ix.netcom.com>,
>	miker3@ix.netcom.com (Michael Rubenstein) writes:
>
>> You mean the Term::ReadKey that has not instructions for installing
>> under the Activestate Win32 port of perl?  If there's a way to install
>> it under Activestate, I can't find it.
>
>You'll find this happening more and more often, with all kinds of
>modules. ActiveState's perl is severely out of date, it isn't very
>'standard', and doesn't really add very much valuable that Gurusamy
>Sarathy's port doesn't offer.
>
>Most programmers simply don't want to put in the extra work to make
>their modules work under ActiveState's port, while they basically
>(often) work out of the box on the standard port. And I find that very
>understandeable :)
>
>The only thing that ActiveState has, really, is PerlScript support.
>But using Apache and mod_perl solves that problem.
>
>Martien
>
>PS. the release of perl 5.005 will finally put a stop to this
>distinction, I hope :)

I certainly hope so.

The problem with Apache on Win32 is that it is "entirely
experimental."  I mean to download it and try it, but I doubt if I can
convince any of my clients to use it until there is some more promise
of stability.

I'm not really acquainted with Gurusamy Sarathy's port, other than I'm
aware of its existence.  I've been compiling the standard
distribution.  It makes it easier to satisfy my "latest version"
fetish.

However, the Activestate port is probably still the most common on
Win32.
--
Michael M Rubenstein


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

Date: 04 May 1998 01:48:38 GMT
From: was099@aol.com (Was099)
Subject: WinNT question?
Message-Id: <1998050401483800.VAA29540@ladder01.news.aol.com>

I been working with Perl for Win32 for about 2 weeks.  And I trying to get info
about the directory space on my servers.  I have come up with a script that
will total space being used by drive, ie       C: 3 MB used
                                                        D: 2 MB used
                                                        G: 2 MB used, etc
I'm trying to get it to total space by drive, directory and subdirectory like:
                                                  C:\dir\subd\  1 MB used
                                                  C:\dir\subd2\ 2 MB used
                                                  D:\dir\subd1\ 3 MB used
I been looking thru several books, like Perl in 21 days, but haven't found an
answer, can someone suggest another reference book to dig thru, or if the code
is simple and short, post them to this user group. Thanks
                                                
                                                        



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

Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 8 Mar 97)
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.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 2487
**************************************

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