[8698] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 2315 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Apr 14 06:17:38 1998

Date: Tue, 14 Apr 98 03:00:27 -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           Tue, 14 Apr 1998     Volume: 8 Number: 2315

Today's topics:
        Alt. builds of win32? (Jarett Kobek)
        ANNOUNCE: IndexMaker 6.5: an index.html maker from PDF, <pivari@geocities.com>
        Array Question <mferg@hal.ddntl.didata.co.za>
    Re: Array Question <dgoddard@us.oracle.com>
    Re: automating a terminal session <dgoddard@us.oracle.com>
    Re: Bill Gates should be invited to O'Reilly's "Free So <zenin@archive.rhps.org>
    Re: Bill Gates should be invited to O'Reilly's "Free So <zenin@archive.rhps.org>
    Re: Bill Gates should be invited to O'Reilly's "Free So <ben@hayamasa.demon.co.uk>
        Blat question <mhchau@cse.cuhk.edu.hk>
        Docs for SDBM file richard.lavey@axa-investmentmanagers.com
    Re: Easy way to count lines in a file <gwynne@utkux.utk.edu>
    Re: environnemt variables <gurun@acc.umu.se>
    Re: environnemt variables <grinch@whoville.com>
    Re: GUI for perl <zenin@archive.rhps.org>
        Help <bugking@usa.net>
    Re: How to get a Perl CGI to perform a POST action <aar@nwark.com>
        info on cookies <glchy@csah.com>
    Re: Intermittent Perl problems (Bart Lateur)
    Re: looking for a good win32 perl editor. <dgoddard@us.oracle.com>
    Re: looking for a good win32 perl editor. (Excession)
    Re: looking for a good win32 perl editor. <due@discovernet.net>
    Re: make perl program start with icon <dgoddard@us.oracle.com>
        Perl and Win32 ceison@lis.net.au
        perl and win95 <ceison@lis.net.au>
    Re: Project involving Word <gurun@acc.umu.se>
        server scripts ceison@lis.net.au
        server scripts ceison@lis.net.au
        server scripts ceison@lis.net.au
        server scripts ceison@lis.net.au
    Re: Tip: How to selectively quiet warnings <rootbeer@teleport.com>
    Re: Tip: How to selectively quiet warnings <dgoddard@us.oracle.com>
        Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

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

Date: 14 Apr 1998 06:52:58 GMT
From: jwk208@is8.nyu.edu (Jarett Kobek)
Subject: Alt. builds of win32?
Message-Id: <6gv14a$em5$1@news.nyu.edu>


Hey, hey, hey perl guys, 

I was wondering, are there any builds of Perl for Win32 that aren't
console?

Any magical builds that won't run that rancid MS-DOS garbage under
my, ahem, rather splendid Win95 interface?


-Jarett

She looked kinda cute, you know?

--
Jarett W. Kobek, ROBEK, JOBEK... HOBEK +  jwk208@is8.nyu.edu
"My name is spelled with one 'R' and two 'T's, thank you for complying."
"kissing you is so sweet."    "may i kiss you again?" 
http://danae.politics.fas.nyu.edu/~jugular -- Hard core Spider Action.
--
 



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

Date: Tue, 14 Apr 1998 08:38:33 +0000
From: Fabrizio Pivari <pivari@geocities.com>
Subject: ANNOUNCE: IndexMaker 6.5: an index.html maker from PDF,HTML,VRML and other files
Message-Id: <35332089.B2DB9BF0@geocities.com>

Hi,

I'm glad to announce the version 6.5 of IndexMaker a perl script to make

an index.html file from PDF, HTML, VRML and other files.
At the moment, it uses the /Author field, the first /Title field and in
the /Subject field every matched PDF files, the <TITLE> </TITLE>
field and  the META
Description and Author fields in every matched HTML files the Info
node field in every matched VRML 1.0 files the WorldInfo node field
info and title in every matched VRML 2.0 files and the name of the file
in the others.

What's new with version 6.5
HTTP support with libwww
http://www.sn.no/libwww-perl/

This is the URL where you can find the tool
http://www.geocities.com/CapeCanaveral/Lab/3469


--
Fabrizio Pivari
mailto:pivari@geocities.com
http://www.geocities.com/CapeCanaveral/Lab/3469/
Member of ANFACE Software
http://www.geocities.com/CapeCanaveral/Hangar/4794/





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

Date: Tue, 14 Apr 1998 10:46:15 +0200
From: Mark Fergusson <mferg@hal.ddntl.didata.co.za>
Subject: Array Question
Message-Id: <35332257.6A2C775C@hal.ddntl.didata.co.za>

Hello all,

I'm a newbie to perl and from what I understand from The Camel Book is
that an 'Associative Array' works with a key and a value. I need to work
with a table of information - a key and a number of values ( I think
this is called a multi-dimmensional array ?).
keyA value1 value2 value3 ... valueN
keyB value1 value2 value3 ... valueN
etc.

How can this be done ?

Any comments will be much appreciated.
--
_____________________________________________
Mark Fergusson: mferg@hal.ddntl.didata.co.za
Dimension Data:
PO Box 236, Pavillion, 3611, South Africa
(+27)-204-8424 (Work)
(+27)-204-8590 (Fax)
082-771-8519 (Cell)




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

Date: Tue, 14 Apr 1998 02:31:13 -0700
From: Denis Goddard <dgoddard@us.oracle.com>
To: Mark Fergusson <mferg@hal.ddntl.didata.co.za>
Subject: Re: Array Question
Message-Id: <35332CE1.7BB873C4@us.oracle.com>

Mark Fergusson wrote:
>
> I need to work
> with a table of information - a key and a number of values 
> keyA value1 value2 value3 ... valueN
> keyB value1 value2 value3 ... valueN

Each entry in your associative array (aka "hash") will be a reference to
a regular array (aka "list"). Often called, "Hash of Lists".
See perldoc perldsc, or perldsc.pod, the section "Hashes of Lists",
for examples of everything.

-Denis

-- 
     __  __  _  __     __
~~~~(__)|-< /-\(__ |__(-_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Denis Goddard, Senior Member, Tech. Staff  |"I see the heads of men
arise
email: dgoddard@us.oracle.com              |with hungry minds and open
eyes!"
ourworld.compuserve.com/homepages/d_goddard| -Rush, from 2112: _The
Oracle_


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

Date: Mon, 13 Apr 1998 23:45:10 -0700
From: Denis Goddard <dgoddard@us.oracle.com>
To: wjr@cims.net
Subject: Re: automating a terminal session
Message-Id: <353305F6.48CF43D3@us.oracle.com>

John Richardson wrote:
> 
> I have used some modules in Perl, but was wondering if anyone could
> recommend or direct me to a module that can basically do an
> interactive terminal session

use Net::Telnet
or
use Comm.pl

-- 
     __  __  _  __     __
~~~~(__)|-< /-\(__ |__(-_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Denis Goddard, Senior Member, Tech. Staff  |"I see the heads of men
arise
email: dgoddard@us.oracle.com              |with hungry minds and open
eyes!"
ourworld.compuserve.com/homepages/d_goddard| -Rush, from 2112: _The
Oracle_


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

Date: 14 Apr 1998 07:10:08 GMT
From: Zenin <zenin@archive.rhps.org>
Subject: Re: Bill Gates should be invited to O'Reilly's "Free Software Summit" (was Re: RMS should be invited to O'Reilly's "Free Software Summit")
Message-Id: <892538231.771553@thrush.omix.com>

Ben Bullock <ben@hayamasa.demon.co.uk> wrote:
	>snip<
: I think that the X windows books by themselves are a major part
: of o'Reilly's business.

	Having once worked for Computer Literacy bookstores, I can assure
	you the X books are nothing close to the bulk of there business.
	We sold more copies of DNS & Bind then all the X books combined, and
	don't even try to compare them with sellers such as the Lama, Camel,
	and Bat books.

	The fact they continue to bother pressing such a low selling text
	IMHO shows there SUPPORT for the free software world.

use Disclaimer::Std;
$Disclaimer::Std::Text = <<"End";
	I no longer work for CLB.  All opinions are mine and you
	can't have them, so there.
End

-- 
-Zenin
 zenin@archive.rhps.org


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

Date: 14 Apr 1998 07:37:23 GMT
From: Zenin <zenin@archive.rhps.org>
Subject: Re: Bill Gates should be invited to O'Reilly's "Free Software Summit" (was Re: RMS should be invited to O'Reilly's "Free Software Summit")
Message-Id: <892539866.489562@thrush.omix.com>

Tim Smith <tzs@halcyon.com> wrote:
: Another important, factor, I think, was attitude.  For a large part (and
: there are notable exceptions on both sides), the BSD's seemed to have been
: mostly developed by Unix developers who wanted a free Unix for PC's,

	Funny that the original BSD code base didn't work on x86 hardware,
	nore does the BSD 4.4 lite code have any x86 hardware code.  Yes,
	FreeBSD added the needed code to port 4.4 to x86, but what about
	NetBSD which now claims probably a dozen platforms?

	The "BSD's" wanted a solid, open Unix.  The platform it runs on
	doesn't matter.

: whereas Linux seems to have attracted a larger number of people (including
: developers) who have a PC background and are getting their first Unix
: exposure via Linux.

	I hope not, or Linux would never have gotten anywhere close to where
	it is now.

: Because of this, Linux has been much more concerned with getting along with
: other PC operating systems.

	Linux was been concerned with getting WinTel users to switch to
	Unix.  "getting along" with other systems was a way to help this,
	and not much more (IMHO).

: The BSD's have been much less concerned about
: this.

	Yes and no.

: Also, this difference in user/developer base lead to rather different
: hardware support.  The BSD's took forever to get good IDE CD-ROM support,
: because anyone with any sense would run SCSI on their system, of course.

	Exactly.

: People who would buy a $100 IDE CD-ROM rather than a $200 SCSI CD-ROM
: because $100 < $200 were not the kind of people the BSD developers cared
: about.

	BSD cares about people that want to run a strong, reliable system.
	To that end no, the "BSD's" don't care too much about supporting
	the bleeding edge junk hardware that JoeCompany makes for the
	WinTel users.

: On the Linux side, many of those kind of people were Linux
: developers, and so Linux got IDE CD-ROM support much sooner, and it worked
: much better.  The same goes for much of the other hardware that is common
: on PC's but uncommon on Unix.

	Exactly.  Junk hardware is common on PCs, not on Unix.

: The consequence of this is that if you are a newbie to Unix, Linux is a
: hell of a lot nicer to try to dual boot on your Windows machine than the
: BSD's are.

	To this point, you are *highly* mistaken.  Have you ever even
	installed FreeBSD?  I hear they've even had blind moneys do it
	it's that simple, with simple duelbooting to anything else one
	might like. -IMHO, the FreeBSD loader is actually *easier* to use
	then lilo.  How much easier can a menu get then:

	F1        FreeBSD
	F2        Windows 95
	F3        Windows NT

	F1 default

-- 
-Zenin
 zenin@archive.rhps.org


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

Date: Tue, 14 Apr 1998 08:54:34 +0100
From: Ben Bullock <ben@hayamasa.demon.co.uk>
Subject: Re: Bill Gates should be invited to O'Reilly's "Free Software Summit" (was Re: RMS should be invited to O'Reilly's "Free Software Summit")
Message-Id: <3533163A.720B2137@hayamasa.demon.co.uk>

Zenin wrote:
> 
> Ben Bullock <ben@hayamasa.demon.co.uk> wrote:
>         >snip<
> : I think that the X windows books by themselves are a major part
> : of o'Reilly's business.
> 
>         Having once worked for Computer Literacy bookstores, I can assure
>         you the X books are nothing close to the bulk of there business.

I didn't say they were.  Note that O'Reilly sells copies
of its X windows books through computer manufacturers such
as Digital, Sun and HP who all ship the O'Reilly manuals
as part of their standard documentation.

I don't have exact data as to how many copies of the books they
sell this way, but you don't have any real sales figures to back up
your opinion either, so I don't see this discussion getting
anywhere.

-- 
Ben Bullock


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

Date: 14 Apr 1998 07:47:31 GMT
From: Sleep <mhchau@cse.cuhk.edu.hk>
Subject: Blat question
Message-Id: <6gv4aj$b9u@eng-ser1.erg.cuhk.edu.hk>

hello ,
	anyone know when using Blat to send mail through CGI, how to use 
standard input (instead of a file) as the mail's content ?

	Thanx for ur attention.


Regards,
Chau.


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

Date: Tue, 14 Apr 1998 03:48:20 -0600
From: richard.lavey@axa-investmentmanagers.com
Subject: Docs for SDBM file
Message-Id: <6gv7sk$9q4$1@nnrp1.dejanews.com>

Hi,

As a newbie to Perl I need to build a simple script that requires a database.
I have the latest Win32 Perl and noticed that a DBMS is included (SDBM_File).
I can't find any docs on how best to use this though (the man page points me
to tie() which isn't that helpfull). I 've found an example script that
creates a DB OK but from this it appears that the file can only be keyed on
numeric values. Is this true ?

If anyone could point me to a source of info I'd be grateful. I've also
considered using Access via ODBC but I have no knowledge of ODBC programming.

In short I want something cheap and quick that'll run on NT without having to
compile anything.

Any and all help greatly appreciciated.

Thanks

--
Richard Lavey
"Views are mine not my employers"

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


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

Date: Tue, 14 Apr 1998 05:24:50 -0400
From: "Bob Gwynne" <gwynne@utkux.utk.edu>
Subject: Re: Easy way to count lines in a file
Message-Id: <6gva3i$ovt$1@gaia.ns.utk.edu>

while (<>) {}
print "Total: $.\n";

Bob Gwynne

Harold Reed wrote in message ...
>Is there an easy way to count the number of lines a file has? I am working
>with several access log files that are routinely larger than 300MB and I
>have developed a crude update that lets the user know every 1000 lines that
>are processed by the script - so you can get an idea of where the script is
>in it duties (a stdout update, if you will). Is there a way that you can
get
>a readout of the number of lines in a file quickly? Currently I am using
the
>incredibly CPU-expensive
>
>while (<ACCESS>) {
>    counter++;
>}
>print "You have $counter lines in this file\n";
>
>This is chewing mountains of time on a huge file as previously decribed. I
>have scoured for a way to count the number of lines - quickly (a la grep
>perhaps?) - but can't seem to find any sort of clue. Any prompts from the
>wizened?
>
>Harold Reed (please interpret below for the address)
>hareed at bellsouth dot net




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

Date: Tue, 14 Apr 1998 09:35:36 +0200
From: N i c l a s O l o f s s o n <gurun@acc.umu.se>
Subject: Re: environnemt variables
Message-Id: <353311C7.F13B3FE2@acc.umu.se>

Craig Berry wrote:
> The original poster (like so many others) committed an error similar to
> entering a library and asking where the frozen foods section was located.
> Is it truly so rude to redirect such a person to the supermarket next
> door, rather than simply ignoring them and letting them wander around
> without hope of success?

IMO the original poster committed a CGI/Perl question. As pointed out by
someone, CGI Meta FAQ maybe could contain an answer to that question or
SSI would solve it.
IMO it's also more likely that the poster would find an answer in a
newsgroup devoted to perl rather than asking people in an html-group.
Maybe I'm wrong, but that's at least my opinion (like if anyone cared:)

Actually, it's not so much the answer I dislike, it's _the way_ it was
answered...

/Niclas


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

Date: Tue, 14 Apr 1998 04:29:26 -0400
From: "Grinch" <grinch@whoville.com>
Subject: Re: environnemt variables
Message-Id: <6gv5vg$8pl@fridge.shore.net>

Craig Berry wrote in message <6gu5cd$bhc$2@marina.cinenet.net>...

>N i c l a s O l o f s s o n (gurun@acc.umu.se) wrote:


>The original poster (like so many others) committed an error similar to
>entering a library and asking where the frozen foods section was located.
>Is it truly so rude to redirect such a person to the supermarket next
>door, rather than simply ignoring them and letting them wander around
>without hope of success?


I agree with you in general, but there are degrees. "No frozen foods here,
but you can find them in the supermarket, which is a block down the street
on your right" is a very different statement than "That's not a library
question, so get out of the library." One is helpful, the other isn't.
Personally, I wonder why the people posting non-answers in the latter style
even bother wasting their time with it. If they don't want to help, they
should just ignore the post.

Few will claim that clpm is the best place to ask a CGI question. I agree
that the appropriate response to such a question is to redirect the newbie
to where they can get the best advice. What I find irritating is the manner
in which several frequent posters are doing the redirection, which is often
abrupt and not very informative.

-grinch

----
"Of course coffee doesn't make the world go around. It
just makes it go faster." - me

Sherm Pendley
grinch@whoville.com
http://www.whoville.com





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

Date: 14 Apr 1998 07:52:32 GMT
From: Zenin <zenin@archive.rhps.org>
Subject: Re: GUI for perl
Message-Id: <892540775.954085@thrush.omix.com>

[posted & mailed]
Yashesh Shroff <yashesh@eecs.berkeley.edu> wrote:
: I read in the Perl-32 faq that Tcl is not yet fully available for NT
: 4.0.

	Umm, what?  Must be old documentation.  I've been running perl/Tk
	under NT 4.0 for months with no problem.

	Unless you have a compiler, grab the binary release at your local
	CPAN under $CPAN/authors/id/GSAR

	It includes the Tk modules prebuilt.

-- 
-Zenin
 zenin@archive.rhps.org


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

Date: Tue, 14 Apr 1998 16:29:26 +0800
From: "Bug" <bugking@usa.net>
Subject: Help
Message-Id: <35331ff5.0@ruby.hknet.com>

I want to know how to perform search , ASCII, double-bytes.
Thank you for your stop by.
If you know, e-mail me bugking@usa.net




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

Date: Tue, 14 Apr 1998 04:08:34 -0500
From: Al Ruth <aar@nwark.com>
To: mark&amy durant <durant@negia.net>
Subject: Re: How to get a Perl CGI to perform a POST action
Message-Id: <35332792.5FCA@nwark.com>

Mark,

This should be an easy task if you make use of the Perl modules in
libwww (a bundle for WWW and other tasks) and the CGI modules.  Go
to CPAN http://www.perl.com/CPAN-local//CPAN.html and check them out.
I have successfully done the posting to a web-page and recieved the 
HTML back (however it contained no graphics but that shouldn't be
a problem for the modules either).  Anyway, check out these modules
and the included examples and documentation.  They should tell you
everything you need.  Good Luck

Al Ruth
aar@nwark.com


mark&amy durant wrote:
> 
> I've got a similar need (I think) for something like this, but can't seem to
> find out if it's possible.  What I'm trying to do is to have form data
> passed to a perl script from one page, and then have the perl script post
> the data to another page (one which could contain .asp server-side
> processes, so I can't just have the perl create the second page ... it's
> needs to be able to post to any given page blindly anyway, i.e. not knowing
> what that second page will be).
> 
> Will these modules do that for me?  And what exactly would be involved in
> doing it?  I'm wanting to be able to post to the second page and then have
> its response directed to the user's browser as seamlessly as possible.
> 
> Any help's appreciated!
> 
> Mark
> 
> Tony Curtis wrote in message <7x90pgrd7s.fsf@beavis.vcpc.univie.ac.at>...
> >Re: How to get a Perl CGI to perform a POST action, Jim
> ><eviljim@megsinet.net> said:
> >
> >Jim> good information on how to make a Perl program simulate
> >Jim> a POST action (most likely to another Perl program).
> >
> >    perldoc LWP
> >
> >and more specifically...
> >
> >    perldoc LWP::UserAgent
> >    perldoc HTTP::Request
> >
> >(and related modules).
> >
> >Jim> I also tried a CPAN search but couldn't find anything
> >Jim> on the subject (I could have bungled up the search,
> >Jim> though).
> >
> >Look for the WWW modules.
> >
> >hth
> >--
> >Tony Curtis, Systems Manager, VCPC,      | Tel +43 1 310 93 96 - 12; Fax -
> 13
> >Liechtensteinstrasse 22, A-1090 Wien, AT | http://www.vcpc.univie.ac.at/
> >
> >"You see? You see? Your stupid minds! Stupid! Stupid!" ~ Eros, Plan9 fOS.


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

Date: Tue, 14 Apr 1998 17:28:54 +0800
From: Gilles Chong <glchy@csah.com>
Subject: info on cookies
Message-Id: <35332C56.7433130D@csah.com>

Hi,
im playing with cookies for the moment. Generating them with a
javascript is very simple. But im stuck when it comes to getting the
cookie and reading it in Perl. It seems that there is NOT an env
variable which corresponds to the cookie.
Do u guys know of any websites with such kind of coding info? All the
sites ive visited gave me an explanation of what is a cookie, what can
it do n stuff.
Fanx

G.
--
Gilles Chong (glchy@csah.com, glchy@csa.com.sg)
Systems Engineer, Internet Division
CSA Holdings Ltd, Singapore.




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

Date: Tue, 14 Apr 1998 08:56:53 GMT
From: bart.mediamind@tornado.be (Bart Lateur)
Subject: Re: Intermittent Perl problems
Message-Id: <35341e16.2777172@news.tornado.be>

Scott LeWarne wrote:

>Problem solved!
>
>Turns out it was the screen saver on the server causing the problem.  When
>it came on, the script stopped working.  go figure!

This isn't Perl specific, but anyway...

I've noted that some screen savers in NT are very CPU-cycle hungry.
Especially the 3D-effect type ones. It's really incomprehensible that
these are part of a server's standard included software, as any server
is not useable when one of these is running. (Note: I'm talking about a
file server, not a web server).

So, my advice: screen savers are very useful for saving your monitor
from burn-in, but please DO choose a very lightweight screen-saver. 3D
is out. The startfield simulation is ok AFAIK.

HTH,
Bart.


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

Date: Mon, 13 Apr 1998 23:49:30 -0700
From: Denis Goddard <dgoddard@us.oracle.com>
Subject: Re: looking for a good win32 perl editor.
Message-Id: <353306FA.BF5A0AB9@us.oracle.com>

For a nice win32 vi-clone with customizable syntax handling, try Lemmy:

http://www.softwareonline.org/lemmy.html

-- 
     __  __  _  __     __
~~~~(__)|-< /-\(__ |__(-_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Denis Goddard, Senior Member, Tech. Staff  |"I see the heads of men
arise
email: dgoddard@us.oracle.com              |with hungry minds and open
eyes!"
ourworld.compuserve.com/homepages/d_goddard| -Rush, from 2112: _The
Oracle_


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

Date: Tue, 14 Apr 1998 08:51:58 GMT
From: daclay@NOSPAMzip.com.au (Excession)
Subject: Re: looking for a good win32 perl editor.
Message-Id: <35332363.5980236@news.zip.com.au>

On Mon, 13 Apr 1998 12:51:47 -0400, James <jamesht@idt.net> wrote:

>Hello all,
>
>I'm ready to pull my hair out.
>
>Any suggestions?

VIM for Win32 (gVim) is pretty cool.  Has Perl syntax highlighting, 
and it's Windowiszed (not a Dos editor).

I Successfully edited a 29MB file with VIM.

Dac


---
David Andrew Clayton     # Please remove NO_SPAM when 
dac@NOSPAM.pcug.org.au   # sending email replies.
I post therefore I am.   #


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

Date: 14 Apr 1998 09:57:50 GMT
From: "Allan M. Due" <due@discovernet.net>
Subject: Re: looking for a good win32 perl editor.
Message-Id: <6gvbuu$rq0$0@206.165.146.195>

I really like TextPad http://www.textpad.com/.  One of  the nicest thing is
that there are clip libraries for things like HTML and languages like Perl.
Small sections of code that you simply point and click into your code.  You
can also call up your browser from within TextPad to debug your code.  You
might want to check it out.

Allan M. Due

James wrote in message <353242A3.C8FC35D6@idt.net>...
>Hello all,
>
>I'm ready to pull my hair out.
>
>Any suggestions?
>
>jamesht@idt.net
>




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

Date: Mon, 13 Apr 1998 23:39:15 -0700
From: Denis Goddard <dgoddard@us.oracle.com>
To: star@sonic.net
Subject: Re: make perl program start with icon
Message-Id: <35330493.6AB91712@us.oracle.com>

Frank wrote:
> 
> On Mon, 13 Apr 1998 03:37:10 -0800, ~arthur <star@sonic.net> wrote:
> 
> >How can one get a Perl program to start off of an Icon on the desk top.
> >
> (this is a Windows question - try asking in a windows group.)

Ouch!  :-) 
Well, just to be a crude, here's one way:
take the file, "myscript.pl" (or "myscript.bat" if you've done a pl2bat
on it)
and copy it to the desktop (C:\windows\desktop or
C:\winnt\profiles\<user>\desktop)

that's it. Really.
You may want to change the icon via the Properties menu.
You may need to use pl2bat if 'Perl' has not been associated with ".pl"
extenssion
or if you do not want the file to have the '.pl' extension.

It really is that easy.

-Denis

-- 
     __  __  _  __     __
~~~~(__)|-< /-\(__ |__(-_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Denis Goddard, Senior Member, Tech. Staff  |"I see the heads of men
arise
email: dgoddard@us.oracle.com              |with hungry minds and open
eyes!"
ourworld.compuserve.com/homepages/d_goddard| -Rush, from 2112: _The
Oracle_


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

Date: Tue, 14 Apr 1998 02:56:10 -0600
From: ceison@lis.net.au
Subject: Perl and Win32
Message-Id: <6gv4qp$67s$1@nnrp1.dejanews.com>

I am trying to write a perl script in win95 to act as a multithread server -
how on earth do I do this - and the perlipc example doesn't work.

Can you please include an example

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


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

Date: 14 Apr 1998 08:25:28 GMT
From: "chris" <ceison@lis.net.au>
Subject: perl and win95
Message-Id: <01bd677e$f48c0840$2c5323cb@ceison.lis.net.au>

I am experimenting with writting tcp servers written in perl and I have
come accross a brick wall. I wish to know how to make a multithread server
that is compatable with win95 (not linux).

I have read perlipc and sort help when its examples didn't work - I have
since been told that the examples are for linux.

can anyone help me find the door?



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

Date: Tue, 14 Apr 1998 09:50:01 +0200
From: N i c l a s O l o f s s o n <gurun@acc.umu.se>
Subject: Re: Project involving Word
Message-Id: <35331529.885C39FD@acc.umu.se>

Anirvan Chatterjee wrote:
> 
> Mark-Jason Dominus <mjd@op.net> wrote:
> > I don't think there are any, because Microsoft never tells anyone what
> > their file formats are.
> 
> This is wrong. There are thousands of valid criticisms of Microsoft;
> this just happens not to be one of them. Go to www.microsoft.com, and
> search for things like "word file formats" in their developer
> resources area; they ask you to register online before you see their
> "premium" content, but besides that annoyance, it's cerainly easily
> available. I can't vouch for how complete the documentation is, but
> most makers of non-free software probably don't even begin to make
> their file formats public, so this is certainly a decent start.

More specific URL is http://www.microsoft.com/msdn/ (register and go to
library online)
You'll find most of MS fileformats there.

/Niclas


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

Date: Tue, 14 Apr 1998 03:08:29 -0600
From: ceison@lis.net.au
Subject: server scripts
Message-Id: <6gv5hs$6t5$1@nnrp1.dejanews.com>

I am trying to write some small multithread servers using perl - but I am
unsure how to do this as the example in perlipc.html returns errors.

can someone please point me in the right direction or even give me an example.

I have the perl 5.004 from cspan - and run win95


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


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

Date: Tue, 14 Apr 1998 03:09:21 -0600
From: ceison@lis.net.au
Subject: server scripts
Message-Id: <6gv5jf$6t9$1@nnrp1.dejanews.com>

I am trying to write some small multithread servers using perl - but I am
unsure how to do this as the example in perlipc.html returns errors.

can someone please point me in the right direction or even give me an example.

I have the perl 5.004 from cspan - and run win95


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


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

Date: Tue, 14 Apr 1998 03:09:21 -0600
From: ceison@lis.net.au
Subject: server scripts
Message-Id: <6gv5k0$f8d$1@nnrp2.dejanews.com>

I am trying to write some small multithread servers using perl - but I am
unsure how to do this as the example in perlipc.html returns errors.

can someone please point me in the right direction or even give me an example.

I have the perl 5.004 from cspan - and run win95


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


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

Date: Tue, 14 Apr 1998 03:08:29 -0600
From: ceison@lis.net.au
Subject: server scripts
Message-Id: <6gv5ib$f6b$1@nnrp2.dejanews.com>

I am trying to write some small multithread servers using perl - but I am
unsure how to do this as the example in perlipc.html returns errors.

can someone please point me in the right direction or even give me an example.

I have the perl 5.004 from cspan - and run win95


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


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

Date: Tue, 14 Apr 1998 07:50:15 GMT
From: Tom Phoenix <rootbeer@teleport.com>
To: Denis Goddard <dgoddard@us.oracle.com>
Subject: Re: Tip: How to selectively quiet warnings
Message-Id: <Pine.GSO.3.96.980414004708.24277D-100000@user2.teleport.com>

On Mon, 13 Apr 1998, Denis Goddard wrote:

> foreach ( @ary ) {
>    /Created user "[^"]*" with password "[^"]*"/ && {
>       $username = $1; $passwd = $2;
>    }
> }

Do you see that the right arg to && is going to be an anonymous hash
constructor? :-)  Don't obfuscate; write out a real if statement! 

> "Useless use of scalar ref constructor in void context at my_prog line
> 5"

Yep, that's the anonymous hash constructor. Hope this helps!

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



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

Date: Tue, 14 Apr 1998 00:54:34 -0700
From: Denis Goddard <dgoddard@us.oracle.com>
To: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Tip: How to selectively quiet warnings
Message-Id: <3533163A.71BAC7F5@us.oracle.com>

Tom Phoenix wrote:
> 
> On Mon, 13 Apr 1998, Denis Goddard wrote:
> 
> > foreach ( @ary ) {
> >    /Created user "[^"]*" with password "[^"]*"/ && {
> >       $username = $1; $passwd = $2;
> >    }
> > }
> 
> Do you see that the right arg to && is going to be an anonymous hash
> constructor? :-)  

Doh!! I *knew* it'd be something lunkheaded!


> Don't obfuscate; write out a real if statement!
Nah, I preferred to inflict the following pain:

/Created user "[^"]*" with password "[^"]*"/ && do {

So now it's a block (what I intended), and not a hash.

> Hope this helps!

Sure did! Thanks!


-- 
     __  __  _  __     __
~~~~(__)|-< /-\(__ |__(-_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Denis Goddard, Senior Member, Tech. Staff  |"I see the heads of men
arise
email: dgoddard@us.oracle.com              |with hungry minds and open
eyes!"
ourworld.compuserve.com/homepages/d_goddard| -Rush, from 2112: _The
Oracle_


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

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 2315
**************************************

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