[13961] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1371 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Nov 13 21:05:30 1999

Date: Sat, 13 Nov 1999 18:05:13 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <942545113-v9-i1371@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Sat, 13 Nov 1999     Volume: 9 Number: 1371

Today's topics:
    Re: arrays of arrays confusion... <cau.quach@sympatico.ca>
        Build Perl <no@spam.com>
    Re: Build Perl (Kragen Sitaker)
    Re: documentation or resource for learning Perl to SQL  (Abigail)
        FTP in 5.002 with only Socket <orionpirate@excite.com>
    Re: FTP in 5.002 with only Socket (Kragen Sitaker)
    Re: Help me 'Think Perl' <slanning@bu.edu>
    Re: Help woth perl (Kragen Sitaker)
        Is there a way to find the size of a jpg file from Perl tony_123@my-deja.com
    Re: looking for a developer . . .  (Martien Verbruggen)
    Re: mod_perl: print() hanging problems. . <randy@theory.uwinnipeg.ca>
    Re: Need help with arrays. (Michael Budash)
    Re: Need help with arrays. (Kragen Sitaker)
    Re: Need help with arrays. (Michael Budash)
    Re: Need help with arrays. (Kragen Sitaker)
        Need help with simple fork, wait, exec <zzrhear@pobox.winthrop.edu>
    Re: Need help with simple fork, wait, exec <slanning@bu.edu>
    Re: Need ODBC Driver for Rdb 6.0 hugh_williams@my-deja.com
    Re: Newbee needs some date functions . . . (Abigail)
    Re: Newbee needs some date functions . . . (Kragen Sitaker)
    Re: Newbee needs some date functions . . . <no@spam.com>
    Re: Newbee needs some date functions . . . (Martien Verbruggen)
    Re: Newbie: Background Sounds <cau.quach@sympatico.ca>
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: Sat, 13 Nov 1999 23:27:04 GMT
From: "Hacka" <cau.quach@sympatico.ca>
Subject: Re: arrays of arrays confusion...
Message-Id: <ctmX3.51525$up3.79911@news21.bellglobal.com>

Symbols sometime obscure school math stuff  ;-)

Kieu.

debtman <debtman@my-deja.com> wrote in message
news:80imil$r5l$1@nnrp1.deja.com...
>
>
> I need to generate a tree structure from a database. Basically the
> database has a record_id and a parent_id, and I need to make an array
> with the parent id as the key which contains an array of id's. What I
> figure I need to do is have the first array $array[$parent_id] reference
> an array which I can then push values onto. But I'm not sure what the
> most efficient way to do this is. Do I need to check and make sure
> $array[$parent_id] already exists, how do I reference each element in the
> array to another array? I understand how to create arrays of arrays where
> you have all the data, but I need to loop through and add to it, and
> dynamically grow both of the arrays... Very confusing :)
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.




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

Date: Sun, 14 Nov 1999 00:41:06 -0000
From: "Simon Brook" <no@spam.com>
Subject: Build Perl
Message-Id: <80l00j$hc4$1@supernews.com>

Thanks to Kragen for hand holding so far, but I'm afraid I am still at a
loss. . . . .

The story so far . . . (trying to us DateCalc for date stuff)

Me>>

I found (to my delight) DateCalc.pm on my Win32 installation of PERL, and
these worked brilliantly (including the awesome decode_date!!) ;-) . . .
however my ISP (demon - UK) doesn't have these modules installed, and when I
tried to use date:datecalc, it told me that dynamic loading was not allowed
on
the server.

K>>
If you have the space, by the way, building Perl might not be too bad;
it took me only about 20 minutes, including time to find and read the
INSTALL file.  Your machine is likely slower.

Me>>

>But doesn't the build get details from the local environment, i.e. my
>computer (running win32 perl), when what I want it to get is the details
>from the ISP's server?

K>
Right -- I'd assumed you'd build perl on the ISP's server.

-----------

OK so far. But how do I do that? (Humble apologies for long post, and
generally being thick, but as British Rail once said - we're getting there)

Help us OB Wan, you're the only one who can save us. . . . .




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

Date: Sun, 14 Nov 1999 01:18:04 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: Build Perl
Message-Id: <g5oX3.8330$YI2.336791@typ11.nn.bcandid.com>

In article <80l00j$hc4$1@supernews.com>, Simon Brook <no@spam.com> wrote:
>Me>>
>
>I found (to my delight) DateCalc.pm on my Win32 installation of PERL, and
>these worked brilliantly (including the awesome decode_date!!) ;-) . . .
>however my ISP (demon - UK) doesn't have these modules installed, and when I
>tried to use date:datecalc, it told me that dynamic loading was not allowed
>on
>the server.
>
>K>>
>If you have the space, by the way, building Perl might not be too bad;
>it took me only about 20 minutes, including time to find and read the
>INSTALL file.  Your machine is likely slower.
>
>Me>>
>
>>But doesn't the build get details from the local environment, i.e. my
>>computer (running win32 perl), when what I want it to get is the details
>>from the ISP's server?
>
>K>
>Right -- I'd assumed you'd build perl on the ISP's server.
>
>OK so far. But how do I do that? (Humble apologies for long post, and
>generally being thick, but as British Rail once said - we're getting there)

Well, actually, Abigail says Date::Manip (a) does what you want and (b)
doesn't require dynamic loading.  So you might try that.

Otherwise,
1. download the perl source package (5.005_03 or whatever is stable) from CPAN;
2. unpack it;
3. read the INSTALL file.
4. follow the instructions.

It might take you as long as an hour.
-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!
<URL:http://www.pobox.com/~kragen/bubble.html>


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

Date: 13 Nov 1999 17:11:54 -0600
From: abigail@delanet.com (Abigail)
Subject: Re: documentation or resource for learning Perl to SQL database interaction
Message-Id: <slrn82rs8b.lmh.abigail@alexandra.delanet.com>

Chad A. Prey (cprey@netway.com) wrote on MMCCLXIV September MCMXCIII in
<URL:news:jX_W3.36737$oa2.150346@iad-read.news.verio.net>:
__ I would be indebted to anyone that could recommend a resource that explains
__ Perl to SQL database interaction such as insert, update, select, etc. I am
__ unable to find even decent literature on this subject and have a feeling
__ that I am not looking in the right place.


http://sybooks.sybase.com/database.html



Abigail
-- 
sub f{sprintf$_[0],$_[1],$_[2]}print f('%c%s',74,f('%c%s',117,f('%c%s',115,f(
'%c%s',116,f('%c%s',32,f('%c%s',97,f('%c%s',0x6e,f('%c%s',111,f('%c%s',116,f(
'%c%s',104,f('%c%s',0x65,f('%c%s',114,f('%c%s',32,f('%c%s',80,f('%c%s',101,f(
'%c%s',114,f('%c%s',0x6c,f('%c%s',32,f('%c%s',0x48,f('%c%s',97,f('%c%s',99,f(
'%c%s',107,f('%c%s',101,f('%c%s',114,f('%c%s',10,)))))))))))))))))))))))))


  -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including  Dedicated  Binaries Servers ==-----


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

Date: Sat, 13 Nov 1999 15:12:47 -0800
From: "OP" <orionpirate@excite.com>
Subject: FTP in 5.002 with only Socket
Message-Id: <80kr8v$j5v$1@birch.prod.itd.earthlink.net>

I have run into a problem.  I can't change anything about my work server,
which has 5.002 under System V.  I need to use just Socket to connect to an
FTP server, log in, retrieve the top level directory list and log out.

I have no problems with this, until the FTP server wants to open a data
socket back to me.  Either I'm screwing up the PORT command I need to send
or I am not having the sockets listen right.

Can anyone point me to an example?  I can't find an ftp script example that
isn't so old-fashioned as to have a bunch of things set as constants...which
I don't want to do.

Any help would be appreciated, whether general or specific.





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

Date: Sat, 13 Nov 1999 23:42:11 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: FTP in 5.002 with only Socket
Message-Id: <nHmX3.8140$YI2.318734@typ11.nn.bcandid.com>

In article <80kr8v$j5v$1@birch.prod.itd.earthlink.net>,
OP <orionpirate@excite.com> wrote:
>I have run into a problem.  I can't change anything about my work server,
>which has 5.002 under System V.  I need to use just Socket to connect to an
>FTP server, log in, retrieve the top level directory list and log out.
>
>I have no problems with this, until the FTP server wants to open a data
>socket back to me.  Either I'm screwing up the PORT command I need to send
>or I am not having the sockets listen right.
>
>Can anyone point me to an example?  I can't find an ftp script example that
>isn't so old-fashioned as to have a bunch of things set as constants...which
>I don't want to do.

I suggest you look at Net::FTP.  I don't think it'll run on 5.002, but
you can see how to send the PORT command and listen.
-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!
<URL:http://www.pobox.com/~kragen/bubble.html>


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

Date: 13 Nov 1999 19:02:11 -0500
From: Scott Lanning <slanning@bu.edu>
Subject: Re: Help me 'Think Perl'
Message-Id: <kusyac2aqkc.fsf@strange.bu.edu>

simon@brecon.co.uk (Simon Cozens) writes:
> Good thinking, but wrong way around: && is not fields, it is records.
> \n is not records, it is fields.

Doh! How bizarro..

sub slash_parse {
    my @arr;
    local $/ = '&&';
    while(<>){
        push(@arr, [split "\n"]);
        chomp $arr[-1]->[-1];
    }
    return \@arr;
}

#example usage:
my $i;
for(@{&slash_parse}){
    print "Record [",++$i,"]:\n";
    print "\tdate: "   , shift @$_,
          "\n\ttitle: ", shift @$_,
          "\n\turl: "  , shift @$_, "\n";
}

-- 
qualification: I'm a dimwit according to someone who emailed me


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

Date: Sun, 14 Nov 1999 00:42:07 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: Help woth perl
Message-Id: <zznX3.8282$YI2.331337@typ11.nn.bcandid.com>

In article <382b0887.0@news2.cluster1.telinco.net>,
Chris <chris@chrismail.connectfree.co.uk> wrote:
>It's meant to input data URL EMAIL and FORWARD this opens the file URL which
>is a shortcut url e.g !www.whatever.com then if it has data in there then it
>should print a message saying it has been taken if not it should print a
>message saying there site has been accepted then a file is created for them
>called there URL with FORWARD in it then it emails them at EMAIL with info
>about there account
>
>forward is meant to bring in a forward address signed up to using the other
>script and for ward ing them to the address in the file.

I'm sorry, I simply have no idea what you are saying.  It's as if you
were writing a different language.
-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!
<URL:http://www.pobox.com/~kragen/bubble.html>


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

Date: Sun, 14 Nov 1999 01:21:09 GMT
From: tony_123@my-deja.com
Subject: Is there a way to find the size of a jpg file from Perl?
Message-Id: <80l2q4$cfc$1@nnrp1.deja.com>

Hi

Is there anyway to find the dimensions of a jpg file in perl??

Cheers

Tony


Sent via Deja.com http://www.deja.com/
Before you buy.


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

Date: 14 Nov 1999 00:11:49 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: looking for a developer . . . 
Message-Id: <slrn82rvjl.igg.mgjv@wobbie.heliotrope.home>

On Sat, 13 Nov 1999 13:58:06 +0800,
	Daniel Barnett <vibrant@iinet.net.au> wrote:
> Hi,
> 
> We have a digital product that we need to sell online.  We are looking
> for a programmer that can integrate our credit card providers API's with
> somesort of shopping cart / download manager.

If you had at least read a few of the articles on this group, you
probably would have noticed that in the last week there have been
several posts offering jobs, and each one of those posts has had
followups from several people informing the poster that you simply do
not post job offers to technical news groups. It's not on.

Doing this anyway greatly reduces your chances of finding anyone clueful
to do the work for you, even _if_ they were looking for a job. 

There are many newsgroups around that have the word 'job' somewhere in
their name. Try one of those.

Martien
-- 
Martien Verbruggen              | 
Interactive Media Division      | 
Commercial Dynamics Pty. Ltd.   | Curiouser and curiouser, said Alice.
NSW, Australia                  | 


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

Date: Sat, 13 Nov 1999 17:33:04 -0600
From: "Randy Kobes" <randy@theory.uwinnipeg.ca>
Subject: Re: mod_perl: print() hanging problems. .
Message-Id: <80ksde$nv2$1@canopus.cc.umanitoba.ca>


Christian Bell <csbell@infinit.com> wrote in
    message news:382D4FA9.FB1BBAA6@infinit.com...
> to go straight to the problem, I have certain timeouts with my perl
> implementations.  When the server pushes the layout to the client (using
> $r->print($layout. .), the server always waits for the client to return
> a succesful 'OK' that it has loaded the page correctly (this seems to be
> the default behoviour of print() in Apache::Registry).  However, when
> there are multiple connections, there is a bottleneck.  Is their a way
> to force print() into "raw-dumping" to the client without anything being
> acknowledged?
Hi,
    I'm not sure this would help your particular case, but at
http://perl.apache.org/guide/ there's a discussion of buffering
and better print techniques - perhaps one of these suggestions
would help.

best regards,
Randy Kobes






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

Date: Sat, 13 Nov 1999 15:19:29 -0800
From: mbudash@wcws.com (Michael Budash)
Subject: Re: Need help with arrays.
Message-Id: <mbudash-1311991519290001@adsl-216-103-91-123.dsl.snfc21.pacbell.net>

In article <oWlX3.7778$YI2.313325@typ11.nn.bcandid.com>, kragen@dnaco.net
(Kragen Sitaker) wrote:

> In article <000b8d9b.77acc8a7@usw-ex0101-004.remarq.com>,
> John Iyezack  <snapperhead_420NOsnSPAM@hotmail.com.invalid> wrote:
> >I have this array filled with numbers.  I need to be able to go through
> >the array an take out all of the duplicate entrys and place them into
> >another array.
> >
> >array 1:
> >1 1 2 2 3 1 2 2 1 2 5 3 4 2 1 3 9 8 
> >Array 2 would only have all the number listed once.
> >1 2 3 5 9 8
> 

[snip]

> To me, though,
>         my %hash = map {$_ => 1} @array1;
>         @array2 = keys %hash;
> seems almost as clear as the foreach solution to the novice, and
> perhaps a little clearer to the regular Perl user.  What do you think?

cool. you could do this, and save using a second array var:

  @array1 = keys %{{map{$_,1}@array1}};

right?
-- 
Michael Budash ~~~~~~~~~~ mbudash@wcws.com


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

Date: Sat, 13 Nov 1999 23:39:59 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: Need help with arrays.
Message-Id: <jFmX3.8139$YI2.321705@typ11.nn.bcandid.com>

In article <mbudash-1311991519290001@adsl-216-103-91-123.dsl.snfc21.pacbell.net>,
Michael Budash <mbudash@wcws.com> wrote:
>In article <oWlX3.7778$YI2.313325@typ11.nn.bcandid.com>, kragen@dnaco.net
>(Kragen Sitaker) wrote:
>[snip]
>> To me, though,
>>         my %hash = map {$_ => 1} @array1;
>>         @array2 = keys %hash;
>> seems almost as clear as the foreach solution to the novice, and
>> perhaps a little clearer to the regular Perl user.  What do you think?
>
>cool. you could do this, and save using a second array var:
>
>  @array1 = keys %{{map{$_,1}@array1}};

You seem to have snipped too much :)
-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!
<URL:http://www.pobox.com/~kragen/bubble.html>


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

Date: Sat, 13 Nov 1999 15:52:10 -0800
From: mbudash@wcws.com (Michael Budash)
Subject: Re: Need help with arrays.
Message-Id: <mbudash-1311991552100001@adsl-216-103-91-123.dsl.snfc21.pacbell.net>

In article <jFmX3.8139$YI2.321705@typ11.nn.bcandid.com>, kragen@dnaco.net
(Kragen Sitaker) wrote:

> In article
<mbudash-1311991519290001@adsl-216-103-91-123.dsl.snfc21.pacbell.net>,
> Michael Budash <mbudash@wcws.com> wrote:
> >In article <oWlX3.7778$YI2.313325@typ11.nn.bcandid.com>, kragen@dnaco.net
> >(Kragen Sitaker) wrote:
> >[snip]
> >> To me, though,
> >>         my %hash = map {$_ => 1} @array1;
> >>         @array2 = keys %hash;
> >> seems almost as clear as the foreach solution to the novice, and
> >> perhaps a little clearer to the regular Perl user.  What do you think?
> >
> >cool. you could do this, and save using a second array var:
> >
> >  @array1 = keys %{{map{$_,1}@array1}};
> 
> You seem to have snipped too much :)

i assume you mean this part:

> >Array 2 would only have all the number listed once.

so the poster really *did* want a second array?
-- 
Michael Budash ~~~~~~~~~~ mbudash@wcws.com


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

Date: Sun, 14 Nov 1999 00:11:07 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: Need help with arrays.
Message-Id: <v6nX3.8189$YI2.326526@typ11.nn.bcandid.com>

In article <mbudash-1311991552100001@adsl-216-103-91-123.dsl.snfc21.pacbell.net>,
Michael Budash <mbudash@wcws.com> wrote:
>In article <jFmX3.8139$YI2.321705@typ11.nn.bcandid.com>, kragen@dnaco.net
>(Kragen Sitaker) wrote:
>> In article
><mbudash-1311991519290001@adsl-216-103-91-123.dsl.snfc21.pacbell.net>,
>> Michael Budash <mbudash@wcws.com> wrote:
>> >In article <oWlX3.7778$YI2.313325@typ11.nn.bcandid.com>, kragen@dnaco.net
>> >(Kragen Sitaker) wrote:
>> >[snip]
>> >
>> >cool. you could do this, and save using a second array var:
>> >
>> >  @array1 = keys %{{map{$_,1}@array1}};
>> 
>> You seem to have snipped too much :)
>
>i assume you mean this part:
>
>> >Array 2 would only have all the number listed once.
>
>so the poster really *did* want a second array?

No, I meant the part of my post that said "@array2 = keys
%{{map{$_,1}@array1}}'", which was in the part you snipped :)

The one-array/two-array thing is pretty much irrelevant in this case.
-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!
<URL:http://www.pobox.com/~kragen/bubble.html>


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

Date: Sat, 13 Nov 1999 23:18:55 +0000
From: "Ryan T. Rhea" <zzrhear@pobox.winthrop.edu>
Subject: Need help with simple fork, wait, exec
Message-Id: <382DF1DE.32607B95@pobox.winthrop.edu>

Please don't hurt me for being so inexperienced.  I just picked up perl
a couple of weeks ago with the llama book.  I am trying to start a ppp
connection from a perl script.  I can get this far using something like:

if ($connect =~ /^y/i) {
      print "connecting...";
      unless (fork) {
         exec("ifup ppp0");
      }
      wait;
      print "connected successfully!\n";
}

So this works, but the wait command does absolutely nothing.  I want the
script to stop while the ppp connection is established.  Currently it
just runs through without the wait, finishing the entire perl script
without waiting the 20-30 seconds necessary for ifup to complete.
Running 'ps -e' during the process tells me that three processes start
immediately after the exec statement.  They are in order as follows:
'ifup-ppp', 'pppd', and 'chat'.  When 'ifconfig' shows ppp0 up and
running, another 'ps -e' shows that the first two processes are running,
but chat has terminated.  Maybe I could use this as the determining
factor of when to continue?  I am looking for the best (simplest,
easiest to understand) way to do this.  Any help (or pointers on where
to study up on this) are welcome.

Thanks in advance,

Ryan T. Rhea
Winthrop University
rhear@cs.winthrop.edu

Please send a courtesy copy of any news group replies to
rhear@cs.winthrop.edu




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

Date: 13 Nov 1999 20:23:12 -0500
From: Scott Lanning <slanning@bu.edu>
Subject: Re: Need help with simple fork, wait, exec
Message-Id: <kusln81c1dr.fsf@strange.bu.edu>

"Ryan T. Rhea" <zzrhear@pobox.winthrop.edu> writes:
> if ($connect =~ /^y/i) {
>       print "connecting...";
>       unless (fork) {
>          exec("ifup ppp0");
>       }
>       wait;
>       print "connected successfully!\n";
> }
> 
> So this works, but the wait command does absolutely nothing.
> I want the script to stop while the ppp connection is established.

I think what's happening is "ifup" itself is a script which fires
off "pppd" and "chat" processes in their own shells like you saw,
so they return immediately and "ifup" doesn't wait up.
As an exercise, you could perhaps re-implement "ifup" in
Perl, making it wait for "chat". Otherwise, you could poll,
using something like (untested)

    until( ($str = `ifconfig`) =~ /ppp0/){
        sleep 2;
    }

after the exec.
    Also, you might want to set autoflush ($|++;) so
that "connecting..." prints immediately. Also your
code seems slightly bizarre to me; keep in mind that when
you fork(), you now have two copies of the same program
executing. I'd prefer something like (again, untested)

    if ($connect =~ /^y/i) {
        $|++;
        print "connecting...";
        #parent
        if (fork()) {
            my $str;
            until( ($str = `ifconfig`) =~ /ppp0/){
                sleep 2;
            }
            print "connected successfully!\n";
        }
        #child
        else {
            exec("ifup ppp0");
        }
    }

-- 
qualification: I'm a dimwit according to someone who emailed me


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

Date: Sun, 14 Nov 1999 00:58:43 GMT
From: hugh_williams@my-deja.com
Subject: Re: Need ODBC Driver for Rdb 6.0
Message-Id: <80l1g2$bdh$1@nnrp1.deja.com>

Hi

The only way I can see you achieving this connectivity is via a Win32
Gateway machine if you can obtain a Win32 ODBC Driver for RDB which I
do believe is bundled with it.

You could than use our FreeBSD ODBC client, ODBC agent for Win32 and
Rdb Win32 ODBC Driver to connect to the Rdb server. Please view the
folowing URL for details onhow to use our ODBC agent:

http://www.openlinksw.com/info/docs/rel3doc/unix/odbcsdk.htm

Regards
Hugh Williams
OpenLink Software

In article <382A376C.E9634E77@svzserv.kemerovo.su>,
  Eugene Grosbein <eugen@svzserv.kemerovo.su> wrote:
> Hi!
>
> I need access from Perl program to Rdb using TCP/IP.
> The only way I found is to use DBD::ODBC.
> It seems that I need a driver for Rdb.
> I tried OpenLink Request Broker for FreeBSD.
> There is no Rdb in its list of supported databases.
>
> Is there an UNIX (BSD or Linux) implementation of
> ODBC Driver for Rdb 6.0?
>
> Please answer via e-mail too.
>
> Thank you.
>
> Eugene Grosbein.
>


Sent via Deja.com http://www.deja.com/
Before you buy.


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

Date: 13 Nov 1999 18:02:32 -0600
From: abigail@delanet.com (Abigail)
Subject: Re: Newbee needs some date functions . . .
Message-Id: <slrn82rv7b.lmh.abigail@alexandra.delanet.com>

Kragen Sitaker (kragen@dnaco.net) wrote on MMCCLXV September MCMXCIII in
<URL:news:FPjX3.7413$YI2.292242@typ11.nn.bcandid.com>:
&& 
&& No, I think your analysis was correct.  Evidently Date::DateCalc has
&& parts written in C and your Perl doesn't support dynamic loading.  I
&& was just hoping you were wrong and there would be an easy solution.
&& 
&& There are some other modules that might help, but I don't know if they
&& have parts written in C or not.

Date::Manip hasn't - its design goal is to have functions for every
common date manupilation operation, and to do it in 100% pure perl.



Abigail
-- 
perl -e '* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / 
         % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %;
         BEGIN {% % = ($ _ = " " => print "Just Another Perl Hacker\n")}'


  -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including  Dedicated  Binaries Servers ==-----


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

Date: Sun, 14 Nov 1999 00:15:33 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: Newbee needs some date functions . . .
Message-Id: <FanX3.8198$YI2.327454@typ11.nn.bcandid.com>

In article <slrn82rv7b.lmh.abigail@alexandra.delanet.com>,
Abigail <abigail@delanet.com> wrote:
>Kragen Sitaker (kragen@dnaco.net) wrote on MMCCLXV September MCMXCIII in
><URL:news:FPjX3.7413$YI2.292242@typ11.nn.bcandid.com>:
>&& No, I think your analysis was correct.  Evidently Date::DateCalc has
>&& parts written in C and your Perl doesn't support dynamic loading.  I
>&& was just hoping you were wrong and there would be an easy solution.
>
>Date::Manip hasn't - its design goal is to have functions for every
>common date manupilation operation, and to do it in 100% pure perl.

Then that is surely the easiest solution for the "newbee" -- he should
use Date::Manip.
-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!
<URL:http://www.pobox.com/~kragen/bubble.html>


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

Date: Sun, 14 Nov 1999 01:03:44 -0000
From: "Simon Brook" <no@spam.com>
Subject: Re: Newbee needs some date functions . . .
Message-Id: <80l1fu$8g1$1@supernews.com>

Wow. Thankyou both very much indeed. I have to say that newsgroups are a new
thing for me too, yes I really am a newbee (strange word/spelling, but hey).
But Perl is so easy to learn.

I must admit that I am somewhat overwhelmed by the tumultous amounts of
information available from people like yourselves, it's just not something I
am used to. I feel like I have just opened the wardrobe that leads to Narnia
 . . . .

(On another slightly embarassing note, I see from reading some of the
postings that certain things are generally frowned upon. I really don't know
any netiquette about news groups etc, and I'm afraid that I don't even know
where the much referred to Perl FAQ is - ok now I have really shown my
ignorance I can just shy away into the corner . . . )

Yours, much obliged,

Simon.

Kragen Sitaker <kragen@dnaco.net> wrote in message
news:FanX3.8198$YI2.327454@typ11.nn.bcandid.com...
> In article <slrn82rv7b.lmh.abigail@alexandra.delanet.com>,
> Abigail <abigail@delanet.com> wrote:
> >Kragen Sitaker (kragen@dnaco.net) wrote on MMCCLXV September MCMXCIII in
> ><URL:news:FPjX3.7413$YI2.292242@typ11.nn.bcandid.com>:
> >&& No, I think your analysis was correct.  Evidently Date::DateCalc has
> >&& parts written in C and your Perl doesn't support dynamic loading.  I
> >&& was just hoping you were wrong and there would be an easy solution.
> >
> >Date::Manip hasn't - its design goal is to have functions for every
> >common date manupilation operation, and to do it in 100% pure perl.
>
> Then that is surely the easiest solution for the "newbee" -- he should
> use Date::Manip.
> --
> <kragen@pobox.com>       Kragen Sitaker
<http://www.pobox.com/~kragen/>
> The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!
> <URL:http://www.pobox.com/~kragen/bubble.html>




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

Date: 14 Nov 1999 02:01:20 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: Newbee needs some date functions . . .
Message-Id: <slrn82s60v.jb7.mgjv@wobbie.heliotrope.home>

On Sun, 14 Nov 1999 01:03:44 -0000,
	Simon Brook <no@spam.com> wrote:
> Wow. Thankyou both very much indeed. I have to say that newsgroups are a new
> thing for me too, yes I really am a newbee (strange word/spelling, but hey).
> But Perl is so easy to learn.

It's ypur spelling. Check the subject line of these posts. That's yours,
right? :)

On another note: Since you indicate that you are new to newsgroups, have
you visited news.announce.newusers and read some of the documents there?
It is customary for replies on Usenet to include the bit you reply to,
the quoted bit, before your own statments, and that you remove
everything from that quote which is not pertinent to your reply.

Welcome to Usenet,

Martien
-- 
Martien Verbruggen              | My friend has a baby. I'm writing
Interactive Media Division      | down all the noises the baby makes so
Commercial Dynamics Pty. Ltd.   | later I can ask him what he meant -
NSW, Australia                  | Steven Wright


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

Date: Sat, 13 Nov 1999 23:20:26 GMT
From: "Hacka" <cau.quach@sympatico.ca>
Subject: Re: Newbie: Background Sounds
Message-Id: <_mmX3.51519$up3.80374@news21.bellglobal.com>

The "bgsound" tag only works for IE, not Netscape navigator/communicator.

Kieu

Bill Moseley <moseley@best.com> wrote in message
news:MPG.12974a1ede6a85af98986f@nntp1.ba.best.com...
> Andy (IL) (akoszyk@flash.net) seems to say...
> > What's the exact placement and syntax for inserting background sounds in
> > pages that are created "on the fly" using the 'print' method?  It's
> > definitely not the same as for behind a straight HTML page.  Trial and
error
> > isn't getting the answer - I'm stymied.
>
> Perl's bgsound() method isn't going to be released until Perl 6.003,
> which comes out Nov. 31st in beta.
>
> I doubt that browsers can determine what's generating a page, be it perl
> or straight HTML.
>
> --
> Bill Moseley mailto:moseley@best.com
> pls note the one line sig, not counting this one.




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

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

| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.

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.

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 V9 Issue 1371
**************************************


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