[19163] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1358 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jul 23 09:05:47 2001

Date: Mon, 23 Jul 2001 06:05:11 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <995893510-v10-i1358@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Mon, 23 Jul 2001     Volume: 10 Number: 1358

Today's topics:
        Bad Return-Path when using Mail::Mailer <henris@clinet.fi>
    Re: Can I <!--include files ??? <bkennedy99@Home.com>
    Re: cant perl get better??? <ubl@schaffhausen.de>
    Re: converting numeric-string to integer doesn't work f <alexis.roda@si.urv.es>
        Current Directory <john@trumpetweb.co.uk>
    Re: Current Directory <bkennedy99@Home.com>
    Re: Current Directory <bart.lateur@skynet.be>
        FAQ: Why doesn't & work the way I want it to? <faq@denver.pm.org>
    Re: Hashes tutorila <bart.lateur@skynet.be>
    Re: Help with Berkeley_DB <bkennedy99@Home.com>
        How do I count the number of characters in a string <u9jdf@csc.liv.ac.uk>
    Re: How do I count the number of characters in a string <peb@bms.umist.ac.uk>
    Re: How to redirect a user ? <alexis.roda@si.urv.es>
    Re: My actual problem ( was: Re: Printing results of a  <bart.lateur@skynet.be>
        nested forks - help.... (Elias_Haddad)
        OLE - change DefaultFilePath in Word <vicrussell@bigfoot.com>
        print "Content-type: image/gif\n\n" and then??? (Caribe1999)
    Re: print "Content-type: image/gif\n\n" and then??? <alexis.roda@si.urv.es>
    Re: read csv <walnut@froggy.com.au>
    Re: redirecting system() call output into variable (Graham)
    Re: Remote updating of my website <john@trumpetweb.co.uk>
        single user mode? <@netvigator.com>
    Re: single user mode? (Bernard El-Hagin)
    Re: UDP Client/Server Tutorial <bkennedy99@Home.com>
    Re: Use Perl and Visual Basic together <bart.lateur@skynet.be>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Mon, 23 Jul 2001 15:28:15 +0300
From: Henri Sivonen <henris@clinet.fi>
Subject: Bad Return-Path when using Mail::Mailer
Message-Id: <henris-BA262E.15281523072001@uutiset.saunalahti.fi>

I noticed that messages sent over SMTP with Mail::Mailer have a header 
like this:
Return-Path: <uid-that-runs-the-script@domain-without-computer-name>

This can be a serious problem if the constructed address is not really 
your address--ie. the userid that runs the script is not an ISP userid 
belonging to the same user.

I tried adding a header called Return-Path explicitly, but it didn't 
work. How can I put my real address in the Return-Path header? Where is 
the header generated?

-- 
Henri Sivonen
henris@clinet.fi
http://www.clinet.fi/~henris/


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

Date: Mon, 23 Jul 2001 12:38:36 GMT
From: "Ben Kennedy" <bkennedy99@Home.com>
Subject: Re: Can I <!--include files ???
Message-Id: <gVU67.19717$EP6.4874282@news1.rdc2.pa.home.com>


"Terry" <dcs@ntlworld.com> wrote in message
news:8WA57.51314$WS4.7824947@news6-win.server.ntlworld.com...
> "Ben Kennedy" <bkennedy99@Home.com> wrote in message
> news:tLA57.3448$EP6.1146360@news1.rdc2.pa.home.com...
>
> Am I right in assuming that I wouldn't be able to METHOD="POST" to these
> pages?

Mason will transparently decode the form parameters for you, GET or POST -
see http://www.masonhq.com  Its not the easiest thing in the world to get
set up, but if you are not a sysadmin type I would recommend using the
apache toolbox (http://www.apachetoolbox.com/) to build your
Apache+Mod_Perl - its pretty easy to use.  Hope this helps --

--Ben Kennedy




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

Date: Mon, 23 Jul 2001 12:02:56 +0100
From: Malte Ubl <ubl@schaffhausen.de>
Subject: Re: cant perl get better???
Message-Id: <3B5C0460.D4C947F5@schaffhausen.de>

Aman Patel schrieb:
> 
> I was wanting the following features/capabilities in perl.
> 
> For CGI Environment:
> - A totally re-defined lifecycle, somewhat like Fast::CGI but without any
> limitations and seemless integration to exisiting source code. CGI Programme
> doesnt loose any persistant data, just like java servlets.

Dont mistake programming languages with web-whatever technologies, application
blah servers. Java cant do by itself what you describe above. You need
to use
Java servlets. Thats not a bigger requirement than installing mod_perl together
with some modules to get the requirements you mention above. Data persistency
in a stateless environment has nothing to do with the technology you
use. Its
just one or the other implementations of the same mechanism, be it cookies
or get urls with session ids. Java servlets dont cast some deep magic
layer over
the http protocol in order to achieve data persistency.

And by the way this is a Perl newsgroup. Don't expect anybody to comment on
such a boring interface between two programs as CGI is.

Bye,

->malte


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

Date: Mon, 23 Jul 2001 13:33:58 +0200
From: Alexis Roda <alexis.roda@si.urv.es>
Subject: Re: converting numeric-string to integer doesn't work for me... help!
Message-Id: <3B5C0BA6.34781681@si.urv.es>

Beng wrote:

Hi have tested it and it works for me.

#!/usr/bin/perl

my @newlist = (
	       "9908 10075 77039256.797 5454961145466",
	       "9914 17547 468315.61 7006666186844",
	       "9975 17547 1782359.41 26710406712277"
	       );

for $newlist (@newlist) {
    ($src_as, $des_as, $pkts, $bytes) = split(/ /,$newlist);
    $pkts = int($pkts);
    $bytes= int($bytes);
    print"pkts = $pkts, bytes = $bytes\n";
}

it prints:

pkts = 77039256, bytes = 5454961145466
pkts = 468315, bytes = 7006666186844
pkts = 1782359, bytes = 26710406712277

I'm running perl 5.005 on linux.


HTH
-- 
                                  ////
                                 (@ @)
---------------------------oOO----(_)----OOo------------------------
        Los pecados de los tres mundos desapareceran conmigo.
Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
--------------------------------------------------------------------


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

Date: Mon, 23 Jul 2001 10:14:11 GMT
From: "ffg" <john@trumpetweb.co.uk>
Subject: Current Directory
Message-Id: <TNS67.22316$_i3.1592054@news1.cableinet.net>

Hi there Anyone know how to return the current directory which works on UNIX
& windows? I'm new to all this and I am a bit stuck! Can't even get the
stuff below to work

Pasted from the help files
===================================================
$cpath = File::Spec->canonpath( $path ) ;

curdir

Returns a string representation of the current directory. ``.'' on UNIX.
===================================================

Message when run Can't locate object method "canonpath" via package
"File::Spec"

Message when run Can't locate object method "curdir" via package
"File::Spec"

Cheers




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

Date: Mon, 23 Jul 2001 12:41:29 GMT
From: "Ben Kennedy" <bkennedy99@Home.com>
Subject: Re: Current Directory
Message-Id: <ZXU67.19719$EP6.4875129@news1.rdc2.pa.home.com>


"ffg" <john@trumpetweb.co.uk> wrote in message
news:TNS67.22316$_i3.1592054@news1.cableinet.net...
> Hi there Anyone know how to return the current directory which works on
UNIX
> & windows? I'm new to all this and I am a bit stuck! Can't even get the
> stuff below to work

There happens to be a standard module for this very thing, see "perldoc Cwd"
for some examples

--Ben Kennedy




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

Date: Mon, 23 Jul 2001 12:44:59 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: Current Directory
Message-Id: <q27oltct4g63n6encj2bggk8oevqq930vs@4ax.com>

ffg wrote:

>Hi there Anyone know how to return the current directory which works on UNIX
>& windows?

	use Cwd;
	my $cwd = cwd;	# function call
	print "My current directory is $cwd\n";

BTW "cwd" stands for Current Working Directory. Cwd is a standard module
(= always present).

-- 
	Bart.


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

Date: Mon, 23 Jul 2001 12:16:56 GMT
From: PerlFAQ Server <faq@denver.pm.org>
Subject: FAQ: Why doesn't & work the way I want it to?
Message-Id: <YAU67.43$T3.178683392@news.frii.net>

This message is one of several periodic postings to comp.lang.perl.misc
intended to make it easier for perl programmers to find answers to
common questions. The core of this message represents an excerpt
from the documentation provided with every Standard Distribution of
Perl.

+
  Why doesn't & work the way I want it to?

    The behavior of binary arithmetic operators depends on whether they're
    used on numbers or strings. The operators treat a string as a series of
    bits and work with that (the string ""3"" is the bit pattern
    "00110011"). The operators work with the binary form of a number (the
    number "3" is treated as the bit pattern "00000011").

    So, saying "11 & 3" performs the "and" operation on numbers (yielding
    "1"). Saying ""11" & "3"" performs the "and" operation on strings
    (yielding ""1"").

    Most problems with "&" and "|" arise because the programmer thinks they
    have a number but really it's a string. The rest arise because the
    programmer says:

        if ("\020\020" & "\101\101") {
            # ...
        }

    but a string consisting of two null bytes (the result of ""\020\020" &
    "\101\101"") is not a false value in Perl. You need:

        if ( ("\020\020" & "\101\101") !~ /[^\000]/) {
            # ...
        }

- 

Documents such as this have been called "Answers to Frequently
Asked Questions" or FAQ for short.  They represent an important
part of the Usenet tradition.  They serve to reduce the volume of
redundant traffic on a news group by providing quality answers to
questions that keep coming up.

If you are some how irritated by seeing these postings you are free
to ignore them or add the sender to your killfile.  If you find
errors or other problems with these postings please send corrections
or comments to the posting email address or to the maintainers as
directed in the perlfaq manual page.

Answers to questions about LOTS of stuff, mostly not related to
Perl, can be found by pointing your news client to

    news:news.answers

or to the many thousands of other useful Usenet news groups.

Note that the FAQ text posted by this server may have been modified
from that distributed in the stable Perl release.  It may have been
edited to reflect the additions, changes and corrections provided
by respondents, reviewers, and critics to previous postings of
these FAQ. Complete text of these FAQ are available on request.

The perlfaq manual page contains the following copyright notice.

  AUTHOR AND COPYRIGHT

    Copyright (c) 1997-1999 Tom Christiansen and Nathan
    Torkington.  All rights reserved.

This posting is provided in the hope that it will be useful but
does not represent a commitment or contract of any kind on the part
of the contributers, authors or their agents.

                                                           04.05
-- 
    This space intentionally left blank


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

Date: Mon, 23 Jul 2001 11:12:35 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: Hashes tutorila
Message-Id: <ri1oltg2tp0h3tmokmbl47lf7tb5l29q8v@4ax.com>

Jaouad El Bahraoui wrote:

>I am looking for a beginner hashes tutorial, what I want to do is
>calculating the average of the "values" in the hashe and store them in
>another hashe, there is any simple way to do it?

Add the values. Divide by the number of hash entries.

	sub sum {
	     my $sum;
	     $sum += $_ foreach @_;
	     return $sum;
	}

	sub average {
	      return sum(@_)/@_;
	}

	my %hash = ( a => 1, b => 2, c => 3, d =>4);
	print average(values %hash);

This prints:

	2.5

-- 
	Bart.


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

Date: Mon, 23 Jul 2001 12:54:43 GMT
From: "Ben Kennedy" <bkennedy99@Home.com>
Subject: Re: Help with Berkeley_DB
Message-Id: <n8V67.19737$EP6.4881388@news1.rdc2.pa.home.com>


"Smedley" <roadrunnerkrazykatovitch@hotmail.com> wrote in message
news:25effc43.0107211230.7d237d1a@posting.google.com...
> Hi,
>
> I am trying to use DB_File.pm in a Linux environment within a CGI
> script,
> but I have gotten this message:
>
> **************************************************
> [Fri Jul 20 16:28:56 2001] DB_File.pm: [Fri Jul 20 16:28:56 2001]
> DynaLoader.pm: DB_File object version 1.60 does not match $DB_File::
> 1.15
> at /usr/lib/perl5/i386-linux/5.00404/DynaLoader.pm line 185. BEGIN
> failed--compilation aborted at submitsquat.cgi line 5.
> ****************************************************
> Can anyone tell me what this might mean?  What should I ask the
> sysadmin to do?

Either you are running an old version of Perl, or there are very old
directories with incompatible binaries in @INC - either way, a fresh install
should fix it.

> BerkeleyDB.xs(52):Cannot open include file 'db.h': No such file or
> directory.

Dunno, could try adding an INC parameter in Makefile.PL.  Perhaps its a
compiler issues, have you successfully built other modules?  Anyway, hope
this helps..

--Ben Kennedy




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

Date: Mon, 23 Jul 2001 11:16:37 GMT
From: "J.D. Fieldsend" <u9jdf@csc.liv.ac.uk>
Subject: How do I count the number of characters in a string
Message-Id: <3B5C0795.A79D7050@csc.liv.ac.uk>

Hi

I want to be able to tabulate text without knowing beforehand how many
characters are in each string.

Thanks

John


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

Date: Mon, 23 Jul 2001 13:47:32 +0100
From: Paul Boardman <peb@bms.umist.ac.uk>
Subject: Re: How do I count the number of characters in a string
Message-Id: <3B5C1CE4.90305423@bms.umist.ac.uk>

"J.D. Fieldsend" wrote:
> 
> Hi
> 
> I want to be able to tabulate text without knowing beforehand how many
> characters are in each string.

Use the length function.  'perldoc -f length' for more details.

$a = "hi there";
print length($a), "\n";

OUTPUT
8

HTH

Paul


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

Date: Mon, 23 Jul 2001 13:21:36 +0200
From: Alexis Roda <alexis.roda@si.urv.es>
Subject: Re: How to redirect a user ?
Message-Id: <3B5C08C0.EB27001D@si.urv.es>

Ciric Vukasin wrote:
> 
> How to redirect user to another page ?
> 
> Thanks in adv.

use CGI;

my $cgi = new CGI();
print $cgi->redirect($some_url);


HTH
-- 
                                  ////
                                 (@ @)
---------------------------oOO----(_)----OOo------------------------
        Los pecados de los tres mundos desapareceran conmigo.
Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
--------------------------------------------------------------------


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

Date: Mon, 23 Jul 2001 12:33:49 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: My actual problem ( was: Re: Printing results of a subroutine to a file
Message-Id: <296olt830ktedk34r9ctoqcuj7g5qfoeil@4ax.com>

Racso wrote:

>  Though I don't need it, I thought it would be interesting to include an
>"export" function to this script, something that can read the generated *.cgi
>file, discard the uneeded lines, and then print to a file the actual HTML and
>text that the subroutines produce.

Your "template" files are actually perl code. Why don't you just run the
code, where print() sends its output to a file (via select())?

-- 
	Bart.


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

Date: Mon, 23 Jul 2001 10:48:22 +0000 (UTC)
From: Elias_Haddad@tertio.com (Elias_Haddad)
Subject: nested forks - help....
Message-Id: <OF41DF5F54.FBA09438-ON80256A92.00395CF7@tertio.com>

Hi all,

Any help will be much appreciated on the subject.
I am writing an application whereby I would like to fork a few processes,
and in these forked processes, fork additionnal processes without any of
the parent processes to have to wait for their children to finish. It is
something of the form:

foreach $customer (@customers) {
     if ($cust_pid = fork) { #in parent
          sleep 1;
           $SIG{CHLD} = 'IGNORE';
     }
     if ($cust_pid == 0) { #in child
          foreach $router (@routers) {
               if ($router_pid = fork) { #in parent
                    sleep 1;
                    $SIG{CHLD} = 'IGNORE';
               }
               if ($router_pid == 0) { #in child
                    #do something, main application here
                    exit; #this exits child process at router level
               }
          }
     }
     exit; #this exits child process at customer level
}

So basically, what I am trying to do is for each customer in my list of
customers, fork a process, and then for each router owned by that customer,
fork another process and this is where my main application takes place, at
router level. I think what I have here are nested forks.
My probelm is that my application is giving me really strange results when
I have nested forks. Perl seems to be confusing which child belongs to
which parent or something of the kind. The reason I am saying this is
because when I test my code without the forking at customer level, just at
router level, it works perfectly. More over, when I replace $SIG{CHLD}
= 'IGNORE'; with waitpid($cust_pid, 0); at the customer level forking (ie
make the parent process wait for its child process to terminate before
beginning a new one), the code works perfectly as well. I need though to
have all these processes run concurrently and hence I do not want to use
the waitpid($cust_pid, 0); solution.
Any help on possible alternative ways will be VERY appreciated as I am
writing this application for a customer.

Thanks in advance,
Elias.

PS: if you're interested by what kind of application I am writing, it's
basically a polling engine that monitors some remote site routers via an
ISDN link, and the polls are made from central site routers via the cisco
ping mib. In order to do the polling, I am using Net::SNMP module. Just
thought you might want to know.


Tertio Limited  -  One Angel Square,   Torrens Street,   London  EC1V 1PL
Tel: +44 (0)20 7843 4000 Fax: +44 (0)20 7843 4001 Web http://www.tertio.com
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Tertio
Ltd.



-- 
Posted from [212.250.216.229] 
via Mailgate.ORG Server - http://www.Mailgate.ORG


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

Date: Mon, 23 Jul 2001 13:23:51 +0100
From: "Vic Russell" <vicrussell@bigfoot.com>
Subject: OLE - change DefaultFilePath in Word
Message-Id: <rHU67.8723$H11.79518@NewsReader>

Hi,

I am trying to set one of the default file paths in Word 97.  I can see what
they are (via the Win32::OLE module) by

print $instance->{Options}->DefaultFilePath(2);

which gives in my case:-
'd:\\program files\\microsoft office\\templates'

However, I cannot find out how to change this as it is part of a collection.

Any ideas?
Regards,
Vic Russell




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

Date: 23 Jul 2001 04:01:59 -0700
From: selfesteem@virgilio.it (Caribe1999)
Subject: print "Content-type: image/gif\n\n" and then???
Message-Id: <311fec9b.0107230301.7d7d51ec@posting.google.com>

If I want to send to the browser only a image, without HTML code, what
must I send after this string?

Thanks to all!

Caribe 1999


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

Date: Mon, 23 Jul 2001 14:48:50 +0200
From: Alexis Roda <alexis.roda@si.urv.es>
Subject: Re: print "Content-type: image/gif\n\n" and then???
Message-Id: <3B5C1D32.299778DB@si.urv.es>

Caribe1999 wrote:
> 
> If I want to send to the browser only a image, without HTML code, what
> must I send after this string?

The image? Try this:

#!/bin/sh

echo "Content-type: image/gif"
echo
cat /path/to/some/image.gif



HTH
-- 
                                  ////
                                 (@ @)
---------------------------oOO----(_)----OOo------------------------
        Los pecados de los tres mundos desapareceran conmigo.
Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
--------------------------------------------------------------------


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

Date: Mon, 23 Jul 2001 20:42:19 +1000
From: Walnut <walnut@froggy.com.au>
Subject: Re: read csv
Message-Id: <4iplltkk2cvksgjmri2g9c1a78krcd4ead@4ax.com>

Go to http://www.bignosebird.com and get the bnbform script. It does
all you want and more. Read, digest and learn!



On Fri, 20 Jul 2001 23:19:06 +0100, "Pete" <bloke6789@hotmail.com>
wrote:

> 
> "Agoradesign.com" <info@agoradesign.com> wrote in message
> news:ou9hlto8jvvb6pufmvgua0eva42d714apm@4ax.com...
> > I am a newbie in perl, I am doing a mailing list form, it can write in
> > a csv file correctly (I need this to imprt in outlook) put I cant make
> > the confirmation page with the new person confirmation in it, neither
> > make a reply auto email.
> >
> > here is the code I put in the html file
> >
> > <form method="GET" action="cgi-bin/readcsv.cgi">
> >
> > <template>
> >  <<nom>>
> > </template>
> >
> >
> > </form>
> >
> >
> > any other idea would help
> > thanks
> 
> I was a newbie last week too. Now I'm an old hand! I think you'll have to
> give a bit more info or else you are going to get flamed. Your cgi script
> has to take variables of some sort, these will appear in your html a bit
> like this: <input type="hidden" name="fred" value="pete,joe">
>           <input type="text" name="mailto" value="fred@here.com">
> And if your script is in perl, then tell the group what it says and you
> might get some help. In fact, you'll certainly get some help 'cause these
> people know their onions.
> Pete
> 
> 
> 



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

Date: 23 Jul 2001 03:22:12 -0700
From: graham@aledrinker.co.uk (Graham)
Subject: Re: redirecting system() call output into variable
Message-Id: <6172ee17.0107230222.550503c5@posting.google.com>

Thanks for the help guys. I will give it a go.

I also read that the following works, but the backtick method seems to
be a lot simpler.

open (PROG, "command|") or die "Could not open program $!";
@output = <PROG>;
close (PROG) or die "Could not execute program $!";

Also, how do you get the output of wrap to format itself to the width
of the terminal instead of 80 characters. I am using it such:

print wrap("    ", "  ", qq{
Text blah de widgets and sprockets
});

Graham


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

Date: Mon, 23 Jul 2001 10:18:14 GMT
From: "ffg" <john@trumpetweb.co.uk>
Subject: Re: Remote updating of my website
Message-Id: <GRS67.22361$_i3.1594491@news1.cableinet.net>

How about you stay on dry land, I go on the boat trip, and phone you with
updates to the site, for a fee, of course.

"Simon Marshall - SMA" <SMarshall@bluedisc.com> wrote in message
news:3F8CBF7D9D43D4119E8100508B6CB0FDF2E76F@redstripe...
> Hi all
>
> I have a website http://www.narrowboat-havana.co.uk
> which is all about the
> boat I live on in London.
>
> I'm going to be going for a year long cruise around
> the waterways of England
> and I want to be able to update the site daily with a
> cruise log for the
> day.
>
> Someone tells me that some perl script on my site
> would enable me to update
> it via email, i.e. send an email to
> simon.marshall@clara.net with a subject
> line CRUISE LOG and it'll create a new entry on a page
> on my site. I know nothing about perl though.
>
> Before you suggest linking a mobile to a laptop and
> doing it via html & ftp,
> what I want to do is send the emails from my mobile
> phone and keep it
> simple.
>
> Any ideas? My service provider is clara.net if that's
> of any help.
>
> Thanks
>
> Simon Marshall
>
>
>
> --
> Posted from mail.london-2.starlabs.net [212.125.75.4]
> via Mailgate.ORG Server - http://www.Mailgate.ORG




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

Date: Mon, 23 Jul 2001 19:01:20 +0800
From: "allan" <@netvigator.com>
Subject: single user mode?
Message-Id: <9jh0kb$gpj6@imsp212.netvigator.com>

Hi,

Does anyone remember how to enter "single" user mode?

Thanks.

Peter




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

Date: Mon, 23 Jul 2001 11:54:37 +0000 (UTC)
From: bernard.el-hagin@lido-tech.net (Bernard El-Hagin)
Subject: Re: single user mode?
Message-Id: <slrn9lo3nc.dr2.bernard.el-hagin@gdndev25.lido-tech>

On Mon, 23 Jul 2001 19:01:20 +0800, allan <@netvigator.com> wrote:
>Hi,
>
>Does anyone remember how to enter "single" user mode?

Perl doesn't have "single" user mode.

Cheers,
Bernard
--
perl -l54e's yyw q q tvmrx "h\ywx ersxliv zivp legoiv"qiy;y #a-zA-Z#d-gu-z#
chefghijklmnopqrstuvwxyzcJab-def-uPwxyzc;s j j s u u s t t s r r s
ppevalpereeteueje'


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

Date: Mon, 23 Jul 2001 12:48:21 GMT
From: "Ben Kennedy" <bkennedy99@Home.com>
Subject: Re: UDP Client/Server Tutorial
Message-Id: <p2V67.19726$EP6.4878381@news1.rdc2.pa.home.com>

"Christian Klauss" <mandor@gfxspace.com> wrote in message
news:Xns90E61B32773Bmeinepostings@62.153.159.134...
> Hi,
>
> Can anyone point me to a tutorial or working framework
> of a UDP client/server (bi-directional) system in Perl?

There is a working, but somewhat dated and over complex example on the
perlipc documentation page "perldoc perlipc".  If you have some spare cash,
I'd get the "Perl Cookbook" (O'Reilly, Ram on cover) which has lots of solid
networking examples.

--Ben Kennedy




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

Date: Mon, 23 Jul 2001 12:41:28 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: Use Perl and Visual Basic together
Message-Id: <lp6oltohuaouq52bjjunp0hu4ujqt131fa@4ax.com>

Walter Hafner wrote:

>I use Spreadsheet::WriteExcel to write Excel binary files on Unix.
>
>The module can write simple sheets (text and number cells) without the
>need for Windows and Excel.
>
>If that's enough for you ...

It's enough if you want to write an Excel file from scratch. It is not
if you want to use an Excel file as a "template" in which you need to
fill in just a few values. I suspect that this is what the OP has in
mind ("write *some* values into an Excel-Sheet").

Perhaps it can be done in combination with Spreadsheet::ParseExcel? Are
these designed to work together? I fear not... but I don't know.

-- 
	Bart.


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

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
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.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 V10 Issue 1358
***************************************


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