[11745] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 5344 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Apr 9 19:07:24 1999

Date: Fri, 9 Apr 99 16:00:28 -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           Fri, 9 Apr 1999     Volume: 8 Number: 5344

Today's topics:
        !\When You're On The Net!\$.50/Hr!  5271 uvcyjz@ghfusosg.com
    Re: Anyone help with reading from data file?  Read here <tbriles@austin.ibm.com>
        Closing a Socket <hojo@i-tel.com>
    Re: Closing a Socket <uri@home.sysarch.com>
        Compiling Perl on Solaris 7 senthilr@my-dejanews.com
    Re: Concurrent IO <gellyfish@gellyfish.com>
    Re: Could someone please tell me...... (Tad McClellan)
    Re: Could someone please tell me...... <gellyfish@gellyfish.com>
    Re: dir list utility (Alastair)
        Don't you have to work? <grichard@uci.edu>
    Re: Don't you have to work? (Larry Rosler)
    Re: Don't you have to work? <cassell@mail.cor.epa.gov>
        Embed Assmebler <joshnarins@my-dejanews.com>
        Form Buttons/Sendmail/Perl kletco@my-dejanews.com
        Help with a project.... <asdf@mindspring.com>
    Re: HELP with Subsitution <gellyfish@gellyfish.com>
    Re: How do i write a program that will spell a word eve (Tad McClellan)
        Insecure dependency in system ... <yk@go.ipclub.dn.ua>
        JavaScript in Perl Scripts <korak@intersurf.com>
    Re: JavaScript in Perl Scripts (Sam Holden)
        killing threads in winnt <ukirazci@fore.com>
    Re: minimal pattern matching <gellyfish@gellyfish.com>
        MQ Series, C/C++, UNIX, Windows NT -- Southern Californ karynelk@my-dejanews.com
        Multiple page forms (Alan Gilman)
    Re: Object help <gellyfish@gellyfish.com>
    Re: Paris Perl Mongers meeting <gellyfish@gellyfish.com>
    Re: Perl conception <jdf@pobox.com>
    Re: Perl conception <cassell@mail.cor.epa.gov>
    Re: perl off-line browser for WINDOW ... <gellyfish@gellyfish.com>
        Perl, ran in single-thread mode? (Darren Greer)
        Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)

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

Date: 9 Apr 1999 20:50:53 GMT
From: uvcyjz@ghfusosg.com
Subject: !\When You're On The Net!\$.50/Hr!  5271
Message-Id: <7elp7d$aj01552@decsafe3.thesocket.com>

Get Paid to Surf the Web! 

I recently joined a new Internet service called AllAdvantage.com.
You should definitely consider becoming a member. Members are
paid for their own Web browsing and for referrals.

Just go to http://my.netian.com/~netcash/w8refer

Hit the link now. Sign up (less than a minute - NO SURVEY) and
then go tell your friends.

Have a nice day!

ktsjpkotqntsibpfeusbjnubxmipfwpmpxgsltqzicudktlufmhnmeqephjctjtfvcyvjgnephil



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

Date: Fri, 09 Apr 1999 17:20:40 -0500
From: Tom Briles <tbriles@austin.ibm.com>
Subject: Re: Anyone help with reading from data file?  Read here.
Message-Id: <370E7D38.85513EF5@austin.ibm.com>

Randal L. Schwartz wrote:

> >>>>> "Ed" == Ed Prochak <prochae@diebold.com> writes:
>
> Ed> reverse(@lines);
>
> You keep using that line.  I do not think that line means[1] what
> you think it means.[2]
>
> print "Just another Perl hacker,"
>
> [1] as in, there's no action going on there.  reverse doesn't alter
>     its arguments
>
> [2] reference to Princess Bride
>

"reverse(@lines);" reversing @lines???!!!   In-con-ceiv-a-ble!!!

- Tom




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

Date: Fri, 09 Apr 1999 22:43:46 GMT
From: hojo <hojo@i-tel.com>
Subject: Closing a Socket
Message-Id: <7elvr1$au2$1@nnrp1.dejanews.com>

Hello All,

I am using the socket examples in the Nutshell book.  However, for some
reason, my close commands are not working and I coutinue to have problems
binding to the socket. (mind you, the program does work when I can bind) The
server is running on SCO unix with perl5.003.  My Code is below.  As you can
see, I have error coded heavealy.  Any i always get this error:

---Server Started---
923722252
Died at bind, Address already in use

What else do I need to do to close the socket?


######################################
#!/u/DB/bin/perl5

use strict;
use Socket;
##############################
#kill handler
##############################
$SIG{'INT'} = 'sigkill';
sub sigkill {
        &dropdead("sig kill");
}
##################################
#setup the files to be transfered
my @fileout =("den_stats.log");#,"tok_stats.log");

################################## #open an error file for scession
open(ERR,">>err.log"); syswrite(ERR,"---Server Started---\n",21);
################################## #create the socket################
socket(GFH, PF_INET, SOCK_STREAM, (getprotobyname('tcp'))) || &dropdead("died
at  socket open, $!"); ################################## #bind the
socket################## bind(GFH, sockaddr_in(2000,
inet_aton(192.168.0.201))) || &dropdead("Died at bin d, $!");
################################## #listen for a connection##########
listen(GFH, 2) || &dropdead("Died at listen, $!");
################################## #call accept and wait!############ my
$addr = accept(NFH,GFH) || &dropdead("died at accept, $!");
################################## ################################## my $i;
foreach $i (0 .. $#fileout){  open(OUT,$fileout[$i]) || (&fileerror("file:
$fileout[$i] did not open, $!") && next);

        select(NFH) || &dropdead("Select failed, $!");
        while(<OUT>){
        print;
        }
        print "EOF";
close(OUT);
}
close(GFH);  #I have tried the closes with both GFH first and then NFH first
close(NFH);  #with no change in the status
##################################
#Normal Terminate message#########
&dropdead("---Normal Exit---");
#SERVER END#######################

#SUBS-
##################################
#error catcher for file open######
sub fileerror {
        my $message = shift;
        syswrite(ERR,"$^T\n",(length($^T)+1));
        syswrite(ERR,"$message\n\n\n",(length($message)+3));
        return 1;
}
##################################
#error handler and exit routine###
sub dropdead {
        my $message = shift;
        #print error to ERR
        syswrite(ERR,"$^T\n",(length($^T)+1));
        syswrite(ERR,"$message\n\n\n",(length($message)+3));
        close(ERR);
        exit;
}

=-=-=-=-=-=-=-=-=-=
David Hajoglou
Sys. Admin., Abbreviator
=-=-=-=-=-=-=-=-=-=

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


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

Date: 09 Apr 1999 18:56:26 -0400
From: Uri Guttman <uri@home.sysarch.com>
Subject: Re: Closing a Socket
Message-Id: <x7u2upqu79.fsf@home.sysarch.com>

>>>>> "h" == hojo  <hojo@i-tel.com> writes:

  h> Died at bind, Address already in use

  h> What else do I need to do to close the socket?


  h> ######################################

your problem is too many # in your code. sockets don't like that. :-)

look up the socket option SO_REUSEADDR (or some similar spelling for
sco) for use in the setsockopt call. it will solve all your problems.

uri


-- 
Uri Guttman  -----------------  SYStems ARCHitecture and Software Engineering
uri@sysarch.com  ---------------------------  Perl, Internet, UNIX Consulting
Have Perl, Will Travel  -----------------------------  http://www.sysarch.com
The Best Search Engine on the Net -------------  http://www.northernlight.com


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

Date: Fri, 09 Apr 1999 21:41:37 GMT
From: senthilr@my-dejanews.com
Subject: Compiling Perl on Solaris 7
Message-Id: <7els6h$81s$1@nnrp1.dejanews.com>

Hi:

I was trying to compile a 64-bit version of Perl for Solaris 7.
I used Perl 5.005_03 src. I gave these flags as CCFLAGS to compiler:

xtarget=ultra -xarch=v9

when configuring.

The make failed with these messages:

cc  -L/usr/lib -o miniperl miniperlmain.o libperl.a -lcrypt_i
ld: fatal: file miniperlmain.o: wrong machine class
ld: fatal: File processing errors. No output written to miniperl
*** Error code 1
make: Fatal error: Command failed for target `miniperl'

Any suggestions..

Thanks,
 ..Senthil.

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


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

Date: 9 Apr 1999 21:36:08 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Concurrent IO
Message-Id: <7elrs8$1v3$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 15:44:55 GMT Norbert Hahn wrote:
> 
> Are there any problems known with concurrent writing from within perl?
> 

Of course this doesnt only apply to Perl.

yes if you are not flock() ing your file - concurrent access can seriously
mess up your file if you dont.  There have been scads of posts about this
in recent times you probably would be best served searching this group on
Dejanews for flock.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: Fri, 9 Apr 1999 13:34:39 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Could someone please tell me......
Message-Id: <fndle7.fm.ln@magna.metronet.com>

Jon (jon@ukonline.net) wrote:

: Is Perl v5.004_04 Y2K compliant?
                    ^^^
                    ^^^


    You must stop using Perl immediately.


    Your Laziness has overcome your Impatience and Hubris.

    It is faster, and makes you good to boot, to find that
    answer is already on your hard disk.



    Do a word search in the standard Perl docs before asking
    a Question that has been Asked Frequently!

    Otherwise you just risk looking silly in front of
    thousands of people.


--
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


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

Date: 9 Apr 1999 23:09:30 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Could someone please tell me......
Message-Id: <7em1ba$1vk$1@gellyfish.btinternet.com>

On Fri, 9 Apr 1999 14:27:07 +0200 Jon wrote:
> Is Perl v5.004_04 Y2K compliant?
> 

No I'm afraid it is entirely non-compliant and the majority of us are now
actually hanging out here for purposes of nostalgia whilst earning vast
sums of money porting all of those Perl applications to COBOL.

> If so would you be able to point me in the right direction for getting
> official confirmation please?
> 

So you want someone to sue when it all goes wrong hey ?  I'd figure to be
suing the Pope as the chief executive of the sucessor business of those
who originally caused the problem.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: Fri, 09 Apr 1999 22:47:28 GMT
From: alastair@calliope.demon.co.uk (Alastair)
Subject: Re: dir list utility
Message-Id: <slrn7gt4d4.60.alastair@calliope.demon.co.uk>

BLUESRIFT <bluesrift@aol.com> wrote:
>Attempting to ascertain the correct method (if possible) to display a directory
>listing for users given any http:// root address. 

What about just using opendir/readdir?

see the docs ;

perldoc -f opendir
perldoc -f readdir

HTH.


-- 

Alastair
work  : alastair@psoft.co.uk
home  : alastair@calliope.demon.co.uk


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

Date: Fri, 9 Apr 1999 13:24:15 -0700
From: "Gabriel Richards" <grichard@uci.edu>
Subject: Don't you have to work?
Message-Id: <7elnel$gpo@news.service.uci.edu>

Disclaimer: This is not a criticism.

Some particularly helpful people in this newsgroup seem to get a word in on
virtually every question posted. These people also presumably work and, I
assume, are responding from work just as I am questioning from work. It must
be incredibly time consuming, particularly when the gurus here actually take
the time to test your code. I just want to know why? Is this part of your
job specs? Are you just bored? Procrastinating? Altruistic? Or, like me, do
you just find that at a computer job, especially among non-technical
co-workers in "higher" education, it is easy to fart around doing what you
want and appear to be busy and productive?

Gabe




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

Date: Fri, 9 Apr 1999 14:32:10 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: Don't you have to work?
Message-Id: <MPG.117811b1d9d7251a989882@nntp.hpl.hp.com>

In article <7elnel$gpo@news.service.uci.edu> on Fri, 9 Apr 1999 13:24:15 
-0700, Gabriel Richards <grichard@uci.edu> says...
> Disclaimer: This is not a criticism.

Perhaps not.  But it may be a troll.
 
> Some particularly helpful people in this newsgroup seem to get a word in on
> virtually every question posted.

As the most frequent poster in the most recent period (60 between 29 Mar 
and 05 Apr), perhaps I should respond.  DejaNews reports 58000 total 
articles during that time, which seems way too high.  (Can anyone 
explain that?  My guess is about 1000 messages on a weekday.)  But 
whatever the real number is, 'virtually every question' seems like a 
slight overstatement.

>                                  These people also presumably work and, I
> assume, are responding from work just as I am questioning from work. It must
> be incredibly time consuming, particularly when the gurus here actually take
> the time to test your code. I just want to know why? Is this part of your
> job specs? Are you just bored? Procrastinating? Altruistic? Or, like me, do
> you just find that at a computer job, especially among non-technical
> co-workers in "higher" education, it is easy to fart around doing what you
> want and appear to be busy and productive?

It's tempting to give you the 'New York' answer -- MYOFB -- but then I 
wouldn't have responded at all.

One reason I respond is to keep my fingers in shape.  I recently used an 
analogy from my old piano training, of the 'five-finger exercises' which 
-- though marginally music -- are essential that they be practiced 
daily.  By always testing before posting, I keep my fingers in trim.

Another reason is because I *really* enjoy the thank-yous I get, 
publicly or privately.  Call it altruistic, if you will -- I think it is 
just selfish.  Pianists like applause when they perform in public, too.

There are, at last report, 168 hours in a week (though only 167 this 
week :-).  Only 50 or 60 of them belong to my employer (who pays me for 
40 ;-).  The rest belong to my wife, who is willing to share them with 
such as you.  I wonder why.

-- 
(Just Another Larry) Rosler
Hewlett-Packard Company
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com


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

Date: Fri, 09 Apr 1999 14:41:29 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: Don't you have to work?
Message-Id: <370E7409.F1A17D69@mail.cor.epa.gov>

Gabriel Richards wrote:
> 
> Disclaimer: This is not a criticism.
> 
> Some particularly helpful people in this newsgroup seem to get a word in on
> virtually every question posted. These people also presumably work and, I
> assume, are responding from work just as I am questioning from work. It must
> be incredibly time consuming, particularly when the gurus here actually take
> the time to test your code. I just want to know why? Is this part of your
> job specs? Are you just bored? Procrastinating? Altruistic? Or, like me, do
> you just find that at a computer job, especially among non-technical
> co-workers in "higher" education, it is easy to fart around doing what you
> want and appear to be busy and productive?
> 
> Gabe


Just wasting time, of course.  :-)

I often have massive jobs which tie up my machines for 1/4 - 2 hours.
Mostly SAS, actually.  I can take tiny snippets of cpu and do 
something like c.l.p.m. while I can't do a lot of computing.

But I answer questions mainly because I can't stand to sit back and
see something done badly.. or not at all.  Sometimes that is not
because a better answer isn't there, but because the answer may not 
be clear enough for the level of person who might have asked the
question.  The wizards know of whom I am thinking.  :-)

Hey, I just wasted three more minutes typing this!

David
-- 
David Cassell, OAO                               
cassell@mail.cor.epa.gov
Senior Computing Specialist                          phone: (541)
754-4468
mathematical statistician                              fax: (541)
754-4716


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

Date: Fri, 09 Apr 1999 22:36:25 GMT
From: JoshNarins <joshnarins@my-dejanews.com>
Subject: Embed Assmebler
Message-Id: <7elvd9$ahv$1@nnrp1.dejanews.com>

What support, if any, is provided for rolling assembler code into my Perl
program? I am serious.

I mean, if I want more than Perl has to offer, why stop at C?

If such an animal exists, what is there to know about it?
Packages/Modules/Debugging/FAQs/Common errors, et cetera

If such an animal DOES NOT exist, what would a guy like me have to do to make
it? I really do not already know what is in XS or swig support modules but
I'll guess that what needs to be created would resemble them.

I looked around CPAN, searched on perl.com and dejanews(i.e.USENET) and nada.


- Josh Simeon Narins



No one is responsible for this except me and some guy named Hsieh who makes me
(without his knowledge) want to write assembler.

Fave Aztec tune: Rip my heart out for the sun god, throw my body down the
stairs

Rip my heart out for the sun god, throw my body down the stairs

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


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

Date: Fri, 09 Apr 1999 20:42:22 GMT
From: kletco@my-dejanews.com
Subject: Form Buttons/Sendmail/Perl
Message-Id: <7elond$54d$1@nnrp1.dejanews.com>

I am trying to create a CGI form where I use a "Browse..." button to attach a
document from the users hard drive, then use sendmail to pump it over to
someone as an email attachment.  I looked at another site and saw how to
create the button itself.  BUT:

1.  Can you attach the document to an email using sendmail or mail?

2.  How would this be manipulated in perl?

I've been looking all over the place for some documentation, but haven't been
able to find it.

Thanks
Kim

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


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

Date: Fri, 9 Apr 1999 16:47:40 -0500
From: "asdf" <asdf@mindspring.com>
Subject: Help with a project....
Message-Id: <7elsf9$jlu@atlas.lcc.net>

Hello,

I am doing a Government project for school and was wondering if you could
spare a quick minute to fill out a survey.
Just go to this link:
http://38.150.238.186/cgi-bin/vote/vote.cgi
and answer the questions.
They are about your opinions on the US voting system.
Your input is greatly appreciated!

I really appreciate your help, Thanks!

--Keith

P.S. - If you have a second, forward this message to somebody else you
know...a friend, family member, etc...your vote could quickly multiply this
way, and make your good deed that much better!  :)




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

Date: 9 Apr 1999 18:22:24 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: HELP with Subsitution
Message-Id: <7elgh0$1n5$1@gellyfish.btinternet.com>

On Fri, 9 Apr 1999 05:20:18 -0400 Dwight Trumbower wrote:
> 
> I love learning on the fly for production work. You always learn enough to
> be dangerous but not enough to know exactly what you are doing.
> 

Just so long as you keep away from my bank account with any of your work ;-}

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: Fri, 9 Apr 1999 13:30:26 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: How do i write a program that will spell a word every way possible?
Message-Id: <ifdle7.fm.ln@magna.metronet.com>

Poohba (poohba@io.com) wrote:
: I want the program to ask for a work then print that word out every way
: possible.  So if the word is "hello" it will print out (hello, holle,
: helol) etc.  Or if it possible, it will print out (hell, hole) or anything
: else that might be a word.


    What you want are called "permutations".

    Armed with that, a word search for "permut" in the PODs 
    leads to this in the Perl FAQ, part 4:

       "How do I permute N elements of a list?"

    Easily changed to permute chars rather than words:


-----------------
#!/usr/bin/perl -w
use strict;

while (<>) {
    chomp;
    permute([split //, $_], []);

    # sub permute(), unchanged from the FAQ, goes here

}
-----------------



--
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


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

Date: 9 Apr 1999 22:46:03 GMT
From: Yury Yaroshevsky <yk@go.ipclub.dn.ua>
Subject: Insecure dependency in system ...
Message-Id: <923697986.594205@go.ipclub.dn.ua>

Hi All!

I'm get next messages, alter running my script:

Insecure dependency in system while running setuid at ip.pl line 97.

In source, at line 97:

system "$IFCMD add 42$Station deny tcp from $IP to $IP_Server 119,3128 in recv fxp0"

Where:
$IFCMD="/sbin/ipfw".
$Station="199"
$IP="10.0.0.199"
$IP_Server="10.0.0.1"
at moment running this line.

Help me with right writing this line, please. 
Reading 'man perlsec' does't help me :(

PS. Please reply to mail.


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

Date: Fri, 9 Apr 1999 16:21:18 -0500
From: "Travis Leuthauser" <korak@intersurf.com>
Subject: JavaScript in Perl Scripts
Message-Id: <V9uP2.7$HGd.162382848@dim.intersurf.net>

I am writing a Perl script with receives a post from a web page.  The script
then searches a file and if information meets its criteria displays it.  At
the end of the script I have a section of JavaScript embedded which
determines if the user's browser supports assigning a background image to a
table cell (ie Internet Explorer).  When I view the source of the results
page generated by my perl script, I see the JavaScript embedded in my perl
script, but the backgrounds assigned to the table cells is not there.

I apologize for any ambiguity in my explanation.

Any help would be greatly appreciated.

Travis Leuthauser
Technical Support
InterSurf Online,Inc.




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

Date: 9 Apr 1999 21:31:58 GMT
From: sholden@pgrad.cs.usyd.edu.au (Sam Holden)
Subject: Re: JavaScript in Perl Scripts
Message-Id: <slrn7gssee.7ol.sholden@pgrad.cs.usyd.edu.au>

Travis Leuthauser <korak@intersurf.com> wrote:
>I am writing a Perl script with receives a post from a web page.  The script
>then searches a file and if information meets its criteria displays it.  At
>the end of the script I have a section of JavaScript embedded which
>determines if the user's browser supports assigning a background image to a
>table cell (ie Internet Explorer).  When I view the source of the results
>page generated by my perl script, I see the JavaScript embedded in my perl
>script, but the backgrounds assigned to the table cells is not there.

It might be better to ask somewhere where people actually know something
about javascript...

Since you asked here though, you can have my answer. 

Don't do it. Adding different HTML for different browsers leads to madness.
Using javascript to do it just makes it faster...

-- 
Sam

Anyway, the other successor to C gobbled up two letters instead of one.
Which is why many Perl scripts have the extension, ``.pl'', finishing
off BCPL.   --Larry Wall


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

Date: Fri, 09 Apr 1999 21:12:43 GMT
From: "Ulas Kirazci" <ukirazci@fore.com>
Subject: killing threads in winnt
Message-Id: <01be82cd$4fa71890$7201000a@kirazci>

hi.  i just started playing around with the Thread module (under winnt).  i
am using it to make non-blocking read's from a process started with
"open2", since alarms and select aren't fully implemented in winnt to my
knowledge.

the problem is that, i also need to kill threads that i have decided to
abandon.  is there any way to do this?

ulas



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

Date: 9 Apr 1999 20:39:57 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: minimal pattern matching
Message-Id: <7eloit$1nr$1@gellyfish.btinternet.com>

On 08 Apr 1999 16:28:01 -0600 Eric The Read wrote:
> tadmc@metronet.com (Tad McClellan) writes:
>>    If a person doesn't _know_ that they are supposed to wait
>>    their turn in line, then everbody else just lets them do it?
>> 
>>    I don't think so. They point out that going to the front is
>>    not how it works...
> 
> I'm reminded of a Heinlein story in which somebody was acquitted of
> murder because the person they killed had cut in line.  Good thing we
> don't do that with FAQs, eh? :^)
> 

So you think we dont eh ?  What do you think is under my patio ?

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: Fri, 09 Apr 1999 22:47:14 GMT
From: karynelk@my-dejanews.com
Subject: MQ Series, C/C++, UNIX, Windows NT -- Southern California Talent Search
Message-Id: <7em01g$b1n$1@nnrp1.dejanews.com>

Rk Consulting, LLC is an application development consulting firm located in
Southern California.  We service a large number of  fortune 500 clients
located in the greater Los Angeles area.  We are always looking for superior
talent in the areas of application programming and generalist information
technology skills.  Currently we have an immediate need for application
programmers with a absolute minimum of three years of experience in US based
companies.  Our skill requirements are:

C/C++,UNIX,AIX,Visual Basic,SQL Server, Windows NT.  We are also looking for
candidates with the above mentioned programming experience who also have a
working knowledge of IBM's MQ Series messaging system.

We offer excellent benefits along with full time opportunities.  We are not
looking for contractors.  We are looking for individuals who are interested
in joining the exciting world of consulting.  All of our consultants must
have a bachlors degree in computer science, 3 yrs experience in US companies,
and function as a generalist  with a strong emphasis in application
programming in a client server and/or mainframe environment.

We are not able to relocate although we would be interested in talking to you
if you are interested in relocating yourself.

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


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

Date: Fri, 09 Apr 1999 21:16:24 GMT
From: nospam@gctech.net (Alan Gilman)
Subject: Multiple page forms
Message-Id: <MPG.11780df860e3237398969b@news>

Is there a clear set of directions on how to create multiple page forms. 
I have many good working HTML forms using Perl on my Web server, but I 
would like to know how to gather information from multiple form pages 
before creating the final input.

-- 
To reply directly change nospam to news.
Alan Gilman
Gilman Computer Technologies
Read TorahBytes! http://torahbytes.org/


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

Date: 9 Apr 1999 21:22:33 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Object help
Message-Id: <7elr2p$1uv$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 10:23:23 -0600 Jeff Beard wrote:
> Pardon if this is poorly explained but I'm not completely familiar with
> Perl jargon or the language.
> 
> I'm writing a CGI program using CGI.pm and mod_perl. I think, though,
> that this is a Perl language issue I'm dealing with.
> 
> What I've done is to put all of my subroutines for this program in a
> module. What I'm having trouble with is how to use the $query object
> that I define in my program in the module.
> 

You will most probably want to refer to it as $main::query in your packages.

In general I would point you toward the perlmod manpage as this has a number
of details about the way in which modules are worked with.

Without a more comprehensive description (some code probably) it is difficult
to be more specific I'm afraid.  Doris is in bed.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 9 Apr 1999 22:59:48 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Paris Perl Mongers meeting
Message-Id: <7em0p4$1ve$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 12:11:53 GMT ericc122@my-dejanews.com wrote:
>  Oyez! Oyez! Hear ye, all Perl programmers living in Paris.

Whaddya mean "Living in Paris" We can get the train from Waterloo ... ?

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 09 Apr 1999 16:05:58 -0400
From: Jonathan Feinberg <jdf@pobox.com>
To: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: Perl conception
Message-Id: <m3vhf536ft.fsf@joshua.panix.com>

David Cassell <cassell@mail.cor.epa.gov> writes:

> Oooh!  My eyes hurt from trying to read those long lines.  Sorry, but
> the
> Usenet standard is around 72 chars per line.  Okay?

Irony, anyone?  (The wrapping above is sic.)

-- 
Jonathan Feinberg   jdf@pobox.com   Sunny Brooklyn, NY
http://pobox.com/~jdf


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

Date: Fri, 09 Apr 1999 14:30:35 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: Perl conception
Message-Id: <370E717B.EDB40E8A@mail.cor.epa.gov>

Jonathan Feinberg wrote:
> 
> David Cassell <cassell@mail.cor.epa.gov> writes:
> 
> > Oooh!  My eyes hurt from trying to read those long lines.  Sorry, but
> > the
> > Usenet standard is around 72 chars per line.  Okay?
> 
> Irony, anyone?  (The wrapping above is sic.)
> 
> --
> Jonathan Feinberg   jdf@pobox.com   Sunny Brooklyn, NY
> http://pobox.com/~jdf

I wish I could honestly say that I did it on purpose as an ironic jest.
But the truth is much more sinister.  I am temporarily forced to use
Nyetscape's Collabra on a different box than usual.  So expect more of
the
same in the next few days.

Wish it weren't true,
David
-- 
David Cassell, OAO                               
cassell@mail.cor.epa.gov
Senior Computing Specialist                          phone: (541)
754-4468
mathematical statistician                              fax: (541)
754-4716


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

Date: 9 Apr 1999 23:11:29 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: perl off-line browser for WINDOW ...
Message-Id: <7em1f1$1vq$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 10:56:53 -0700 David Cassell wrote:
> help-me-please@usa.net wrote:
>> 
>> Hi all,
>> I am finding perl program FOR WINDOW,
>> which can help me off-line download web pages.
>> 
>> Can you write me where can I download from?
>> 
>> I know that there is a proram called webcopy,
>> but it is for unix...
>> 
>> Thank you very much.
> 
> Install ActiveState's Perl for win32.  It comes with the module
> LWP::Simple.
> That will do what you want.  Look in its documentation for an example.
> 

Infact better than that it comes with a program called lwp-request that
will fit most unsophisticated requirements.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: Fri, 09 Apr 1999 21:18:52 GMT
From: drgreer@qtiworld.com (Darren Greer)
Subject: Perl, ran in single-thread mode?
Message-Id: <370e6e6a.330168537@news.qgraph.com>

Howdy all.

I believe a problem I am having with the DBD and DBI modules, is due
to perl and threading.  If I compile perl with threading enabled, will
it try to run a program thread autmatically?

And if so, is there a way to tell a program to run in single-thread
mode (ie, disable threading for that program)?

Darren



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

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

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