[9215] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 2810 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jun 8 10:27:24 1998

Date: Mon, 8 Jun 98 07:01:13 -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           Mon, 8 Jun 1998     Volume: 8 Number: 2810

Today's topics:
    Re: . <godred@pop.enterprise.net>
    Re: . <Jesus@vkr.k-net.dk>
    Re: . <mcai7et2@stud.umist.ac.uk>
    Re: . <Jesus@vkr.k-net.dk>
    Re: . (Robert Pfeifer)
        accessing Oracle chris@ultramedia.co.uk
    Re: comp.lang.perl.(n|q) another option? <camerond@mail.uca.edu>
    Re: comp.lang.perl.(n|q) another option? <zenin@bawdycaste.org>
        Contract Requirement - PERL A/P - 3 months + - West Lon <contracts@formula.demon.co.uk>
    Re: Date fomatting. (Steffen Beyer)
    Re: Date fomatting. <quednauf@nortel.co.uk>
        Day of Week Display for User-Input Date <kcl@mindspring.com>
        DBD install chris@ultramedia.co.uk
        lambda fun in Perl <xah@shell13.ba.best.com>
    Re: lambda fun in Perl <merlyn@stonehenge.com>
        making perl5.004_4 error <bill@TechServSys.com>
    Re: offline mode? <angst@scrye.com>
    Re: offline mode? <tchrist@mox.perl.com>
    Re: offline mode? <webmaster@fccjmail.fccj.org>
        Oracle connectivity sarvagna@hotmail.com
        problems with the access modes RJE.Samulski@Student.Unimaas.NL
        problems with the access modes RJE.Samulski@Student.Unimaas.NL
    Re: Q: drop a 'slice' in list (Lars Gregersen)
        RECOMMEND A PERL BOOK/RESOURCES ?? <step@hotkey.net.au>
    Re: RECOMMEND A PERL BOOK/RESOURCES ?? <steph@hotkey.net.au>
    Re: RECOMMEND A PERL BOOK/RESOURCES ?? <zkessin@lhr-sys.dhl.com>
        test.. <support@chesco.com>
        test <maierc@chesco.com>
        use socket function in VMS... (GEMINI)
        Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

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

Date: Mon, 08 Jun 1998 11:01:56 +0100
From: Untilted <godred@pop.enterprise.net>
Subject: Re: .
Message-Id: <357BB694.DF443603@pop.enterprise.net>



Andy Chantrill wrote:

> http://u2me3.com

 In case you were thinking of following this link, dont bother. Its a
waste of bandwidth unless you are looking to rent a server. I really
cant see what its doing in a.f.e


--
                                                      #####
 Untilted <godred@spamfilter.pop.enterprise.net>    ###  #####
  "640k ought to be enough for anybody"           ## AMiGA   ##
                         -Bill Gates, 1981        ## instead ##
                                                    #########




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

Date: Mon, 08 Jun 1998 12:13:44 +0200
From: Jesus <Jesus@vkr.k-net.dk>
Subject: Re: .
Message-Id: <357BB958.C2043069@vkr.k-net.dk>

>   "640k ought to be enough for anybody" -Bill Gates, 1981

"If you can't make it good, at least make it look good" - Microsoft
Marketing


Jesus <---- The one and only postman !!



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

Date: Mon, 08 Jun 1998 11:49:56 +0100
From: Edward Thomas <mcai7et2@stud.umist.ac.uk>
Subject: Re: .
Message-Id: <357BC1D4.8E3B364C@stud.umist.ac.uk>

Jesus wrote:
> 
> >   "640k ought to be enough for anybody" -Bill Gates, 1981
> 
> "If you can't make it good, at least make it look good" - Microsoft
> Marketing
"It's an undocumented feature" - Microsoft Tech Support

> 
> Jesus <---- The one and only postman !!

-- 
Spam spam spam. Lovely spam! Wonderful spam! Spam spa-a-a-a-a-am spam
          Edward Thomas        {:-/ <- self portrait                s
vely Spam! Spam spam spam spam spam spam spam spa-a-a-a-a-a-a-a-am !p
o     ________@/  <- e-snail         mcai7et2@stud.umist.ac.uk      a
L !maps ylevoL !maps ylevoL !maps ylevoL !maps ylevoL !maps ma-a-a-a-


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

Date: Mon, 08 Jun 1998 13:01:51 +0200
From: Jesus <Jesus@vkr.k-net.dk>
Subject: Re: .
Message-Id: <357BC49F.BC0A73FE@vkr.k-net.dk>

> > >   "640k ought to be enough for anybody" -Bill Gates, 1981
> >
> > "If you can't make it good, at least make it look good" - Microsoft
> > Marketing
>
>
> "It's an undocumented feature" - Microsoft Tech Support

"There won't be anything we won't say to people to try and convince them
that our way is the way to go." - Microsoft marketing



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

Date: Mon, 08 Jun 1998 13:07:43 GMT
From: mzyg142@unix.ccc.nottingham.ac.hiccup.uk (Robert Pfeifer)
Subject: Re: .
Message-Id: <357be1ef.387331@news>

On Mon, 08 Jun 1998 13:01:51 +0200, Jesus <Jesus@vkr.k-net.dk> wrote:

}> > >   "640k ought to be enough for anybody" -Bill Gates, 1981
}> >
}> > "If you can't make it good, at least make it look good" - Microsoft
}> > Marketing
}>
}> "It's an undocumented feature" - Microsoft Tech Support
}
}"There won't be anything we won't say to people to try and convince them
}that our way is the way to go." - Microsoft marketing

"These [security loopholes] are not security loopholes - they're
undocumented features." - Microsoft on Windows NT


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

Date: Mon, 08 Jun 1998 09:45:07 GMT
From: chris@ultramedia.co.uk
Subject: accessing Oracle
Message-Id: <6lgbr3$e97$1@nnrp1.dejanews.com>

Hi,

Is it possible to access Oracle8 from a CGI script
even though

a) the webserver is running on Solaris and the database is on NT
b) I don't have SQL*Net

 ..at the moment it runs through JDBC but it takes ages for the applets (165k)
to download, and then even longer to connect to the database and run :-(

TIA

Chris
-----

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


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

Date: Mon, 08 Jun 1998 07:30:34 -0500
From: Cameron Dorey <camerond@mail.uca.edu>
To: "Allan M. Due" <due@murray.fordham.edu>
Subject: Re: comp.lang.perl.(n|q) another option?
Message-Id: <357BD96A.EBB90699@mail.uca.edu>

[cc'd to amd]

Allan M. Due wrote:
> 
> [snip]
>         As a newcomer to Perl [...] one idea I have played with is creating a web site dedicated to the Perl Newbie that would be a clearing house of all of the excellent FAQs and guides to appropriate newsgroup behavior that newbies are frequently directed to in this newsgroup.  As an alternative to suggesting "check the man pages" or the FAQs and etc. the inappropriate poster could be referred to the web site as the place to start before making any more posts to the newsgroup. 


That's nice of you to make that offer, but have you noticed the ongoing
number of referrals in this newsgroup to http://www.perl.com, where
there already is a listing of FAQs, tutorials, resources, etc. for all
to peruse? If people won't go there (and, you'll have to admit, it _is_
an easy name to remember), then I wouldn't be optimistic that a site by
any other name would be used by the folks that need it, either.

Cameron
camerond@mail.uca.edu


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

Date: 8 Jun 1998 13:42:33 GMT
From: Zenin <zenin@bawdycaste.org>
Subject: Re: comp.lang.perl.(n|q) another option?
Message-Id: <897313847.789977@thrush.omix.com>

Michael J Gebis <gebis@albrecht.ecn.purdue.edu> wrote:
: I've never seen it suggested yet, but my brain just thunk "What about
: comp.lang.perl.win32?"

	Maybe because there is already a mailing list for perl/win32.
-- 
-Zenin
 zenin@archive.rhps.org


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

Date: Mon, 8 Jun 1998 11:18:46 +0100
From: Alan Thake <contracts@formula.demon.co.uk>
Subject: Contract Requirement - PERL A/P - 3 months + - West London
Message-Id: <bgr6eOAGq7e1Iw0V@formula.demon.co.uk>


We currently have a contract requirement for a Perl Analyst/Programmer
to work on an Intranet development project for 3 months plus extensions.

If this sounds of interest, could you please send me a full CV and I
will contact you immediately with more details.

-- 
Alan Thake.

FORMULA SYSTEM RESOURCES LTD.
7a Milburn Road, Bournemouth. BH4 9HJ
E:Mail: contracts@formula.demon.co.uk
Tel:    01202 752660
Fax:    01202 752665    



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

Date: 7 Jun 1998 22:19:58 GMT
From: sb@engelschall.com (Steffen Beyer)
Subject: Re: Date fomatting.
Message-Id: <6lf3me$6ld$1@en1.engelschall.com>

Nick Nottleman <Nick1pub@worldnet.att.net> wrote:

> I am creating a script that polls to see if a file exists and then
> e-mails it if it does exist.  I have been able to make everything work
> except that the files that I need to search for are created with the
> current date in this format:
> yymmdd
> So I need to be able to make perl look for the file.
> I have tried a bunch of things and the only thing that I even remotely
> came close with was Time::CTime which gave me way too much info.
> Sorry for posting a dumb question!
> Thanks for any input in advance!
> Nick

($yy,$mm,$dd) = (localtime(time))[5,4,3];
$filename = sprintf("%s%02d%02d", substr($yy+1900,-2),$mm+1,$dd);

HTH.

Yours,
-- 
    Steffen Beyer <sb@engelschall.com>
    Free Perl and C Software for Download: www.engelschall.com/u/sb/download/
    "Perl is like sex: If you never had it, you wonder what the fuss is all
     about. Once you had it, you never want to be without it again." (unknown)


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

Date: Mon, 08 Jun 1998 11:55:30 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: Date fomatting.
Message-Id: <357BC320.D53C073B@nortel.co.uk>

>     Steffen Beyer <sb@engelschall.com>
>     Free Perl and C Software for Download: www.engelschall.com/u/sb/download/
>     "Perl is like sex: If you never had it, you wonder what the fuss is all
>      about. Once you had it, you never want to be without it again." (unknown)

:-)

--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________





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

Date: Mon, 08 Jun 1998 08:50:32 -0400
From: KC Lucchese <kcl@mindspring.com>
Subject: Day of Week Display for User-Input Date
Message-Id: <357BDE18.B4781F@mindspring.com>

Pardon what may be a question that's been asked a thousand times before!
I know just enough PERL to be dangerous and to support someone else's
application, so take it easy on me, OK?

I have a script that passes a user-selected date to another script and I
want to display the day of week (Sunday, Monday, Tuesday, etc.) for that
day...  I've tried everything I can find via the PERL references both in
print (very limited) and on the internet (very old)....

Can anyone give me some ideas on how to do this????

Thanks a bunch!


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

Date: Mon, 08 Jun 1998 11:31:26 GMT
From: chris@ultramedia.co.uk
Subject: DBD install
Message-Id: <6lgi2e$js3$1@nnrp1.dejanews.com>

Hi,

How do you install the DBD module on UNIX when the database resides on NT?

It keeps asking for Oracle variables to be set, and complains if it can't find
it...

TIA

Chris - chris@ultramedia.co.uk

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


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

Date: 08 Jun 1998 05:13:06 -0700
From: Xah Lee <xah@shell13.ba.best.com>
Subject: lambda fun in Perl
Message-Id: <yo34sxw5bxp.fsf@shell13.ba.best.com>


Is there a way to create lamda function in perl? i.e. compose and apply arbitrary anonymous function in a line of code.

For example, recently I had the question of droping elements in a list in one line. A make-do solution supplied by someone is:

splice (@{$x=[split ' ', 'a b c d e']}, -3);

This is not entirely satisfactory, because $x is now a reference. I rather want the whole thing be a value (list in this case) so I can further manipulate it. (In Mathematica, it's done as Function[Drop[#,{n,m}]][arbitraryListHere])

If I can find a way to wrie lambda func in Perl, it'll be great! Thanks.

 Xah xah@best.com
 http://www.best.com/~xah/SpecialPlaneCurves_dir/specialPlaneCurves.html
 "I heart Dvorak keyboard."


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

Date: Mon, 08 Jun 1998 12:45:52 GMT
From: Randal Schwartz <merlyn@stonehenge.com>
Subject: Re: lambda fun in Perl
Message-Id: <8cyav8uknc.fsf@gadget.cscaper.com>

>>>>> "Xah" == Xah Lee <xah@shell13.ba.best.com> writes:

Xah> Is there a way to create lamda function in perl? i.e. compose and
Xah> apply arbitrary anonymous function in a line of code.

Here's one way (requires a modern Perl):

	sub { print "@_"; } -> (sort qw(b c d a));

In this, the anon func that prints its args within a double-quoted
string context (causing spaces between elements) is handed the args of
the result of sort.  You can use the result from the func further.

That should be sufficiently flexible for you. :-)

print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
## legal fund: $20,990.69 collected, $186,159.85 spent; just 85 more days
## before I go to *prison* for 90 days; email fund@stonehenge.com for details

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


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

Date: Mon, 08 Jun 1998 06:40:39 -0400
From: -bill- <bill@TechServSys.com>
Subject: making perl5.004_4 error
Message-Id: <357BBFA7.59E2@TechServSys.com>

when I get to  "make" after the configure for perl5.004_04

I get the following error:

        ./miniperl configpm tmp
        sh mv-if-diff tmp lib/Config.pm
File lib/Config.pm not changed.
        AutoSplitting perl library

        Making DynaLoader (static)
 
        Making utilities
 
        Making x2p stuff
`all' is up to date.

        Making Fcntl (dynamic)
        LD_RUN_PATH="" ld -o ../../lib/auto/Fcntl/Fcntl.so 
-L/usr/local/lib -L/f/perl/sfio/lib Fcntl.o    

undefined                       first referenced
 symbol                             in file
__stat32                            Fcntl.o
__fstat32                           Fcntl.o
__lstat32                           Fcntl.o
__statlstat32                       Fcntl.o
Perl_croak                          Fcntl.o
errno                               Fcntl.o
strncmp                             Fcntl.o
strcmp                              Fcntl.o
Perl_stack_sp                       Fcntl.o
Perl_stack_base                     Fcntl.o
Perl_markstack_ptr                  Fcntl.o
Perl_na                             Fcntl.o
Perl_sv_2pv                         Fcntl.o
Perl_sv_2iv                         Fcntl.o
Perl_sv_newmortal                   Fcntl.o
Perl_sv_setnv                       Fcntl.o
Perl_Sv                             Fcntl.o
Perl_form                           Fcntl.o
perl_get_sv                         Fcntl.o
Perl_newXS                          Fcntl.o
Perl_sv_yes                         Fcntl.o
i386ld fatal: Symbol referencing errors. No output written to
 ../../lib/auto/Fcntl/Fcntl.so
*** Error code 13 (bu21)
*** Error code 1 (bu21)
-bill-
-- 

-bill-

Technical Service Systems - bill@TechServSys.com


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

Date: 8 Jun 1998 05:49:06 GMT
From: angst <angst@scrye.com>
Subject: Re: offline mode?
Message-Id: <6lfu0i$upf$1@jelerak.scrye.com>

Tom Christiansen <tchrist@mox.perl.com> wrote:

: I wonder why no one ever posts "I'm just learning C and tcp."

Because this isn't a c or tcp group.
Seriously though, it has to do with the general lack of people that really
care to take the time to learn how things work, which i find particularly
appalling in the case of sysadmins.  People learn tools to get a job
done, without ever really wanting to know _how_ that particular solution
actually works.  So, they learn things the excruciatingly painful way, instead
of learning underlying concepts (such as tcp) which would help them immensely
in learning other things later on (like cgi).

Now, compared to perl, C is a very painful language.  But, if learning
C can't teach you how to program in general, then nothing can.  Learning
C forces you to learn a lot about programming practice, and learning to write
good C teaches you a lot about how computers in general work, particularly
things like memory management.  But then, a huge percentage of the people
out there, even so-called sysadmins, only want to put up nifty web
pages with cool forms, so why would they care how the thing actually works,
so long as there are people around to spoon-feed them perl.  I've
seen plenty of people who have written CGI scripts without any real idea
of why the things work like they do, so they end up asking the same questions
over and over again every time the write a new script.  It's really
kind of sickening.  In my mind, you have no right to call yourself
a sysadmin or (god forbid) a computer programmer if you have no clue
how the thing really works, and particularly if you don't make any
effort to learn anything beyond how to change around other people's work
to do exactly what you want.  Plenty of people get some script off
someone else, and just keep changing it for each new project, without
even knowing what the original script really does or how it does it.

It's this general attitude of taking a computer, or the web, as a "black
box" without every caring how the thing actually works that has made
companies like Microsoft so successful.  it wouldn't be quite so bad,
except people that call themselves computer professionals and get paid
to manage and sometimes develop computers and software often don't
have the first idea of how the thing works, so they end up writing
bad and often inadvertently dangerous code and getting paid for it.

Sorry about that...you inadvertently hit on one of my pet peeves.

-- 
Erik Nielsen <eln@rmci.net>
mail to above (rather than header address) is answered significantly faster.
this post != views of anyone at all, really
"You are like...unix GOD" -- local tech support


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

Date: 8 Jun 1998 07:25:37 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: offline mode?
Message-Id: <6lg3lh$5jd$1@csnews.cs.colorado.edu>

 [courtesy cc of this posting sent to cited author via email]

In comp.lang.perl.misc, 
    angst <angst@scrye.com> writes:
:except people that call themselves computer professionals and get paid

Actually, I think the current buzzword for unskilled computer-related
jobs is "IT professional", which seems to have supplanted "data processing
drones" and even MIS majors.  But it's still just as useless.

Yeah, yeah.  My hot-button, too.

--tom
-- 
 The use of COBOL criples the mind; its teaching should, therefore, be
 regarded as a criminal offense.         -- E. W. Dijkstra


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

Date: Mon, 08 Jun 1998 11:10:43 GMT
From: Bill 'Sneex' Jones <webmaster@fccjmail.fccj.org>
Subject: Re: offline mode?
Message-Id: <357BC4A1.BBA922A8@fccjmail.fccj.org>

Tom Christiansen wrote:
> 
> In comp.lang.perl.misc, watsons@teleport.com (Linda Watson) writes:
> :I'm just learning perl and cgi.
> 
> I wonder why no one ever posts "I'm just learning C and tcp."
> 
> --tom


I'm just leaning C and TCP and ... is there a way to read a file backwards?

Oh and create a file (sort of a log) like using a here document???

-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: Mon, 08 Jun 1998 10:48:43 GMT
From: sarvagna@hotmail.com
Subject: Oracle connectivity
Message-Id: <6lgfib$hg1$1@nnrp1.dejanews.com>

How do I connect ORACLE 7.XX or 8 to Perl 5 on any of the UNIX flavours.

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


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

Date: Mon, 08 Jun 1998 07:45:15 GMT
From: RJE.Samulski@Student.Unimaas.NL
Subject: problems with the access modes
Message-Id: <6lg4qb$82t$1@nnrp1.dejanews.com>

Hi, a newbie writing CGI scripts here,

Who can help me with the following problem: I'm trying to write a script that
can be run through a web-browser and is capable of changing the file modus
from 644 to 666. Normally this is no problem but the file exists in a 755
directory. And because the web-browser user doesn't have write access in this
directory, he/she can't change the modus of the file located in this
directory. Is there some way I can give a script the access level of a local
Unix user? Or is there another way around this problem?

Greetings from the Netherlands,
        Sumv

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


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

Date: Mon, 08 Jun 1998 07:45:15 GMT
From: RJE.Samulski@Student.Unimaas.NL
Subject: problems with the access modes
Message-Id: <6lg4r9$r5i$1@nnrp2.dejanews.com>

Hi, a newbie writing CGI scripts here,

Who can help me with the following problem: I'm trying to write a script that
can be run through a web-browser and is capable of changing the file modus
from 644 to 666. Normally this is no problem but the file exists in a 755
directory. And because the web-browser user doesn't have write access in this
directory, he/she can't change the modus of the file located in this
directory. Is there some way I can give a script the access level of a local
Unix user? Or is there another way around this problem?

Greetings from the Netherlands,
        Sumv

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


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

Date: Mon, 08 Jun 1998 08:24:52 GMT
From: lg@kt.dtu.dk (Lars Gregersen)
Subject: Re: Q: drop a 'slice' in list
Message-Id: <357b9eba.7181523@130.228.3.8>

On 06 Jun 1998 04:29:56 -0700, Xah Lee <xah@shell13.ba.best.com>
wrote:

>How can I delete a sequence of elements of a **LIST** in one line? (one semicolone)
>To illustrate, the following drop the last 3 elements using two lines.
>
>my @aa = split(m( ),'Dvorak keyboard is wonderful. Eh eh eh?');
>my @result = @aa[0 .. $#aa-3];
>where I wished something like
>my @result = ... split(m( ),'Dvorak keyboard is wonderful. Eh eh eh?') ...;

You could try
my @aaa;
@aaa[0..3] = split(m( ),'Dvorak keyboard is wonderful. Eh eh eh?');
but here you have to know the number of elements to extract
beforehand. If you only know you have to eliminate 3 elements from the
resulting list from the split you must find it in order to do the
math.

my version of Perl (5.003_07) wont let me do this in one line though:
my @aaa[0..3] = split(m( ),'Dvorak keyboard is wonderful. Eh eh eh?');
is met with
' Can't declare array slice in my at test.pl line 12, near "] ="
Execution of test.pl aborted due to compilation errors. '

I hope this helps

  Lars

Lars Gregersen, M.Sc., Chem. Engng.
Technical University of Denmark
Department of Chemical Engineering
E-mail  : lg@kt.dtu.dk
Homepage: http://www.gbar.dtu.dk/~matlg/


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

Date: Mon, 08 Jun 1998 22:53:20 +1000
From: Stephan Carydakis <step@hotkey.net.au>
Subject: RECOMMEND A PERL BOOK/RESOURCES ??
Message-Id: <357BDEBF.4779@hotkey.net.au>

Hello All,

Sorry, but I have a menial matter compared to some of the stuff i've
been reading in 'ere.

I have a background in COBOL(yeah, yeah, i've heard most of the jokes!)
but am very interested in Perl.

My wife bought me "Programming Perl" for Christmas, and I've been trying
to learn Perl from this book. I realise its a tad beyond me(the "Grade
Example" is still awesome in my books!) and am wondering if anyone could
point me in the direction of a good Intermediate book that teaches Perl.

I have managed to code a couple of CGI scripts, but am too scared to
"use strict" on them!!(would someone like to have a laugh and look at
the code for me???)

Are there any resources where one can say submit a script for some kind
of evaluation?? or hints?? I've contemplated going back to school part
time but there are no public schools that offer Perl in Melbourne
Australia.

Would taking a C++ course help make learning Perl easier?? 

Thanks in advance

Stephan Carydakis
P.S. Hey Mr Wall, Mr Christiansen,  can I come live with one of you guys
:] ?


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

Date: Mon, 08 Jun 1998 23:16:09 +1000
From: Stephan Carydakis <steph@hotkey.net.au>
Subject: Re: RECOMMEND A PERL BOOK/RESOURCES ??
Message-Id: <357BE419.6F6B@hotkey.net.au>

Stephan Carydakis wrote:
> 
OOPS... 
my $email_addie = "steph@hotkey.net.au";

not step@hotkey.net.au just incase you were going to reply :]

thanks again


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

Date: 08 Jun 1998 14:45:03 +0100
From: Zachary Kessin <zkessin@lhr-sys.dhl.com>
Subject: Re: RECOMMEND A PERL BOOK/RESOURCES ??
Message-Id: <m3k96s80tc.fsf@pc-hhu-52.lhr-sys.dhl.com>


Stephan Carydakis <step@hotkey.net.au> writes:

> Hello All,
> 
> Sorry, but I have a menial matter compared to some of the stuff i've
> been reading in 'ere.
> 
> I have a background in COBOL(yeah, yeah, i've heard most of the jokes!)
> but am very interested in Perl.
> 
> My wife bought me "Programming Perl" for Christmas, and I've been trying
> to learn Perl from this book. I realise its a tad beyond me(the "Grade
> Example" is still awesome in my books!) and am wondering if anyone could
> point me in the direction of a good Intermediate book that teaches Perl.

Try "Learning Perl" aka the "Llama Book". Well worth it. 

> 
> I have managed to code a couple of CGI scripts, but am too scared to
> "use strict" on them!!(would someone like to have a laugh and look at
> the code for me???)

Turn it on and see what it does. Worst comes to worst, you turn it
off.

Good Luck and have fun!

--Zach
(No Sig yet)


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

Date: Mon, 08 Jun 1998 13:28:51 GMT
From: "Bryan Seltzer" <support@chesco.com>
Subject: test..
Message-Id: <01bd92e1$e7d16a80$19ccc3d1@Nortic.chesco.com>

ignore...test


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

Date: Mon, 08 Jun 1998 13:29:21 GMT
From: Charles MAier <maierc@chesco.com>
Subject: test
Message-Id: <357BE811.26CB@chesco.com>

ignore


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

Date: 8 Jun 1998 05:50:47 GMT
From: dennis@info4.csie.nctu.edu.tw (GEMINI)
Subject: use socket function in VMS...
Message-Id: <6lfu3n$94p$1@netnews.csie.NCTU.edu.tw>

hi there,

  I have just installed perl in my VMS,
and the perl was compiled with socket support.
The test for the socket support is passed. However,
it failed with my little test program:

  $AF_INET=2;
  $SOCK_STREAM=1;
  $PROTO=6;
  $sockaddr='S n a4 x8';
  $LHOST="\x82\x93\x1f\x07";
  $RHOST="\x82\x93\x1f\x01";
  $this=pack($sockaddr,$AF_INET,0,$thisaddr);
  $that=pack($sockaddr,$AF_INET,$PORT,$thataddr);
  socket(S,$AF_INET,$SOCK_STREAM,$PROTO) || die "socket fail\n";
  bind(S,$this) || die "bind fail\n";
  connect(S,$that) || die "connect fail\n";

  select(S);$|=1;
  select(STDOUT);

  $_=<S>;
  print $_;
  close(S);

the error message is : 
  connect fail
  %SYSTEM-F-IVADDR, invalid media address

originally I used gethostbyname to translate host ip address,
and getprotobyname('tcp') to get protocol number,
it failed. so I use numbers directly, but seems no use.

anybody knows what's wrong with it?
please reply me by mail if possible,
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 2810
**************************************

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