[11270] in Perl-Users-Digest
Perl-Users Digest, Issue: 4870 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Feb 11 11:44:59 1999
Date: Thu, 11 Feb 99 07:00:25 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Thu, 11 Feb 1999 Volume: 8 Number: 4870
Today's topics:
a secure way to do a "rsh"? <wmwilson1@go.com>
Re: a secure way to do a "rsh"? <jhi@alpha.hut.fi>
Re: Calculate yesterdays date <rra@stanford.edu>
Re: Connecting to a passwd protected web site <Tony.Curtis+usenet@vcpc.univie.ac.at>
Re: Converting CSV to LDIF <martin.lonnar@edt.ericsson.se>
Re: Does Perl restrict regular expressions? <rick.delaney@home.com>
Re: flock not working properly! HELP! (Ryan McGuigan)
Re: Frustrating problem with Exporter <skovran@goto.com>
Re: Help editing script <r.i.h.powell@rl.ac.uk>
Re: Help editing script <jdf@pobox.com>
Re: Hex 0a always prints 0d followed by 0a <jim.michael@gecm.com>
looking for a simple multithreaded server example in pe (Markus Hdfner)
New mailing list: (void) - the philosophy of Programmin <alex@mediaconsult.com>
Re: Newbie sockets question <alex@kawo2.rwth-aachen.de>
Re: OS-supported open-time mandatory file locks from Pe (Bbirthisel)
Re: Perl 'zine <carvdawg@patriot.net>
Problem with file creation <patfong@yoyo.cc.monash.edu.au>
Re: Problems with shell parsing of exec. <mkbowler@nortelnetworks.com>
Re: Problems with shell parsing of exec. <ljz@asfast.com>
Q: Perl-interface similiar to GD.pm but PS output (Tobias Buchal)
Q: X-profile-plotprogr reading data from pipe ? (Tobias Buchal)
Re: Question: Arrays of associative arrays (Arved Sandstrom)
Red Haven - Manchester United <jopaloli@mbox2.singnet.com.sg>
Running script locally in browser <swanbria@egr.msu.edu>
Re: shift multi-dimension array <rick.delaney@home.com>
Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 11 Feb 1999 13:56:04 GMT
From: wil <wmwilson1@go.com>
Subject: a secure way to do a "rsh"?
Message-Id: <79unhg$qrn$1@nnrp1.dejanews.com>
Can someone provide me some info on how I could go about doing something like
a "rsh <hostname> command" from within a perl-script.
I'm running Apache with all scripts owned by nobody, so in order to be able to
rsh a command to a remote host, I either need to set up a trust relationship
between the host and that user (no thanks), setuid on the script or....[Your
suggestion here] =).
Additional info: Apache is on on box, I'd like to be able to dynamically get
the status of some backups on other boxes. Currently I have a script cron'd
once daily that runs on the remote box with output going into my NFS mounted
home directory which is then copied to the Apache directory, but this is time
consuming and not dynamic. Any suggestions would be appreciated.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: 11 Feb 1999 16:30:29 +0200
From: Jarkko Hietaniemi <jhi@alpha.hut.fi>
Subject: Re: a secure way to do a "rsh"?
Message-Id: <oeen22lt3lm.fsf@alpha.hut.fi>
wil <wmwilson1@go.com> writes:
> Can someone provide me some info on how I could go about doing something like
> a "rsh <hostname> command" from within a perl-script.
>
> I'm running Apache with all scripts owned by nobody, so in order to be able to
> rsh a command to a remote host, I either need to set up a trust relationship
> between the host and that user (no thanks), setuid on the script or....[Your
> suggestion here] =).
ssh.
www.ssh.org
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen
------------------------------
Date: 11 Feb 1999 02:16:34 -0800
From: Russ Allbery <rra@stanford.edu>
Subject: Re: Calculate yesterdays date
Message-Id: <yln22l8cu5.fsf@windlord.stanford.edu>
Daniel Grisinger <dgris@moiraine.dimensional.com> writes:
> Russ Allbery <rra@stanford.edu> writes:
>> windlord:~> perl -MDate::Manip -e'print join ("\n", keys %INC, "")'
[6 lines snipped]
> Hmmmm... you have a much lighter Date::Manip than I do.
> $ perl -MDate::Manip -le 'print join "\n", keys %INC'
[16 lines snipped]
Gah!!
> Module id = Date::Manip
> DESCRIPTION Manipulate/parse international dates/times
> CPAN_USERID SBECK (Sullivan Beck <sbeck@cise.ufl.edu>)
> CPAN_VERSION 5.33
windlord:~> perl -MDate::Manip -e 'print $Date::Manip::Version, "\n"'
5.20
It's gotten even worse! Good lord!
Date::Manip is a great module if you really need to be able to do all of
that stuff. But usually you *don't*. And when you don't, it's just about
the poster child for "let's see how much code we can make Perl compile to
do this simple little date calculation."
Nearly all of the time, in a typical program, you can get away with just
localtime, POSIX::strftime() (which is dynamically loadable C, just an
interface to your C library, and reasonably fast), and some simple tricks.
If you really need to parse dates, Date::Parse from TimeDate is generally
sufficient. And it's a lot less weight.
--
#!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker
$^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD,
00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{
rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print
------------------------------
Date: 11 Feb 1999 12:13:28 +0100
From: Tony Curtis <Tony.Curtis+usenet@vcpc.univie.ac.at>
Subject: Re: Connecting to a passwd protected web site
Message-Id: <83iud9nqg7.fsf@vcpc.univie.ac.at>
Re: Connecting to a passwd protected web site, Larry
<larrym@imsi.com> said:
Larry> I have inherited some code that retrieves a
Larry> page from a web site. It does it all by brute
Larry> force, calling gethostbyname, socket,
Larry> connect, etc. Now, that site is passwd
Larry> protected, and the script fails, getting back
Larry> "HTTP/1.0 401 Unauthorized". We do have a
Larry> login and passwd, and can get in with a
Larry> browser, but how can I modify this script so
Larry> that it can login and access the site?
go to http://www.w3.org/ and look up the HTTP
protocol spec. on how to deal with Basic
authentication.
perldoc LWP
to see how to handle such authentication in a clean,
abstract fashion.
hth
tony
--
Tony Curtis, Systems Manager, VCPC, | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien. | <URI:http://www.vcpc.univie.ac.at/>
"You see? You see? Your stupid minds! | private email:
Stupid! Stupid!" ~ Eros, Plan9 fOS.| <URI:mailto:tony_curtis32@hotmail.com>
------------------------------
Date: Thu, 11 Feb 1999 11:41:59 +0100
From: "Martin Lvnnar" <martin.lonnar@edt.ericsson.se>
Subject: Re: Converting CSV to LDIF
Message-Id: <36C2B3F7.BB193639@edt.ericsson.se>
LDAP = Lightweight Directory Access Protocol
Have a look at: http://ftp.sunet.se/foldoc/foldoc.cgi?query=ldap
I don't think we can go any deeper than this! :-)
(Of course we can, but I don't want to.)
/martin
Ronald J Kimball wrote:
>
> What is LDAP?
>
> (How long can we keep this going? ;-)
>
> Martin Lvnnar <martin.lonnar@edt.ericsson.se> wrote:
>
> > LDIF = LDAP Data Interchange Format.
> >
> > /martin
> >
> > Steve Palincsar wrote:
> >
> > > CSV stands for "commas separated value" and there
> > > is a perl module in CPAN to help you parse it.
> > >
> > > What is LDIF?
> > >
> > > Aaron Tavistock wrote:
> > > >
> > > > What is a CSV file?
> > > >
> > > > I've done alot of scripts for converting other formats into LDIF, but I
> > > > have no idea what CSV is.
> > > >
> > > > Aaron Tavistock
> > > >
> > > > Martin Lvnnar wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > Is there a script/module to quickly convert CSV files to LDIF files?
> > > > >
> > > > > /martin lvnnar
>
> --
> _ / ' _ / - aka - rjk@linguist.dartmouth.edu
> ( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
> / http://www.ziplink.net/~rjk/
> "It's funny 'cause it's true ... and vice versa."
------------------------------
Date: Thu, 11 Feb 1999 13:47:28 GMT
From: Rick Delaney <rick.delaney@home.com>
Subject: Re: Does Perl restrict regular expressions?
Message-Id: <36C2E14E.6EE20E9@home.com>
Uri Guttman wrote:
>
> >>>>> "JF" == Jonathan Feinberg <jdf@pobox.com> writes:
>
> JF> Rick Delaney <rick.delaney@home.com> writes:
> >> perl -lpe '$c++ if /somepattern/}$_=$c;{' file
>
> JF> Wow. Abigail's silly trick has become an *idiom*.
>
> that is scary! also it isn't in effective perl or the cookbook!
> but i wouldn't recommend it for anything but one liner hacks and even
> then it is just goofy.
yes, but it doesn't require a shift key.
(ducking)
--
Rick Delaney
rick.delaney@home.com
------------------------------
Date: Thu, 11 Feb 1999 14:19:44 GMT
From: ryan@mail.ramresearch.com (Ryan McGuigan)
Subject: Re: flock not working properly! HELP!
Message-Id: <4GBw2.333$%B4.332635@news.abs.net>
Don't bother responding I already figured it out.
Ryan McGuigan (ryan@mail.ramresearch.com) wrote:
: Hi, I got a big problem, for some reason flock isn't working properly.
: here what I have in my locking subrouting,
: unless (flock ($db_fh, 2 | 4)) {
: warn "Waiting for lock ($!) ....\n";
: for ($i = 0; $i < 1000; $i ++ ) {
: if (flock ($db_fh, 2 | 4)) {
: sleep(1);
: last;
: }
: warn "$!\n"
: }
: }
: This seems to work ok when there are like 2 processes that run at the same
: time, but if I run around 5 to 20 processes, it somehow doesn't work.
: This is a severe problem, it doesn't just lose data, because of the way I
: manipulate the file it gets completely whacked.
: BTW, the 2 and the 4 are correct on my system (Linux 2.0.35, Perl
: 5.004_04), I checked to be sure. I have tried all the examples give in
: the camel book, perldocs etc etc etc... NOTHING will make it work right.
: If anyone has ANY thing they can offer it would be much appreciated.
: thanks
: Ryan
------------------------------
Date: Wed, 10 Feb 1999 09:15:07 -0800
From: Steven Skovran <skovran@goto.com>
Subject: Re: Frustrating problem with Exporter
Message-Id: <36C1BE9B.C9CC802A@goto.com>
Tom Williamson wrote:
>
The Exporter module creates alias between package symbol tables. To help
this, you need to add a 'package mypkg::MyExports' line to this
exporting library. Then, after the "use mypkg::MyExports;" in package
main, $main::MYSYM2 wil be aliased to $mypkg::MyExports::MYSYM2.
> use Exporter;
> @ISA = qw(Exporter); ##This is never explained, but it's in all the
> examples
@ISA is Perl's mechanism for inheritance. If perl can't find a method in
the current package (mypkg::MyExports), it will look in the each package
whose name is in the @ISA array. This behavior is mentioned on page 292
of the O'Reilly "Programming Perl" book.
> $MYSYM1 = "BLA BLA BLA";
> $MYSYM2 = "I HATE PERL";
> @EXPORT = qw( MYSYM1 MYSYM2 );
>
> The importing scripts all look something like:
>
> use mypkg::MyExports;
> use myotherpkg::myotherstuff;
>
> if ( $MYSYM2 eq 'I HATE PERL' ) {
> ## do some stuff
> }
>
Steven Skovran
skovran@goto.com
------------------------------
Date: Thu, 11 Feb 1999 13:40:07 +0000
From: Rosemary I H Powell <r.i.h.powell@rl.ac.uk>
Subject: Re: Help editing script
Message-Id: <36C2DDB7.67C49BA3@rl.ac.uk>
I think if you look more closely at the website you will find that Brent
actually wrote examples of each part (add, search, delete, etc) as a
separate script before finally combining them.
I claim my $33...
Rosemary
chall5@hotmail.com wrote:
>
> For anyone with any experience of Perl I should think the task I described
> would take no more than 20 minutes for which I would be happy to pay $33.
>
> As regards your other comment I was under the impression the script was
> written in Perl making it completely 'on topic' for this forum.
>
> regards
> Chris
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: 11 Feb 1999 15:06:04 +0100
From: Jonathan Feinberg <jdf@pobox.com>
To: chall5@hotmail.com
Subject: Re: Help editing script
Message-Id: <m3yam56nn7.fsf@joshua.panix.com>
chall5@hotmail.com writes:
> As regards your other comment I was under the impression the script was
> written in Perl making it completely 'on topic' for this forum.
Well, Perl is written in C, so you could just as easily have asked in
a newsgroup dealing with C language issues.
Seriously, your post contained no Perl content whatsoever. It was
essentially a job posting, and I was calling your attention to that
with my usual overbearing sarcasm.
An example of Perl content would be: "Why does -w not emit a warning
when I use racist variable names?" or "How are hashes implemented?"
--
Jonathan Feinberg jdf@pobox.com Sunny Brooklyn, NY
http://pobox.com/~jdf
------------------------------
Date: Thu, 11 Feb 1999 07:52:50 -0500
From: Jim Michael <jim.michael@gecm.com>
Subject: Re: Hex 0a always prints 0d followed by 0a
Message-Id: <36C2D2A2.48F2@gecm.com>
joedevon@my-dejanews.com wrote:
>
> Hi,
Howdy.
> How do I cause perl to write oa only? The code:
> $line = $_."\x0a";
> print FILE $line;
>
> and I get an 0d and 0a!!! I want 0a only!
perldoc -f binmode
Example:
#!/usr/bin/perl -w
open (FILE,">hello") || die "Can't open hello - $!";
binmode FILE;
$line = 'hello world!'."\x0a";
print FILE $line;
close FILE;
__END__
Without binmode:
E:\>perl test.pl
E:\>debug hello
-d
142E:0100 68 65 6C 6C 6F 20 77 6F-72 6C 64 21 0D 0A 01 01 hello
world!....
With binmode:
E:\>debug hello
-d
142E:0100 68 65 6C 6C 6F 20 77 6F-72 6C 64 21 0A 0A 01 01 hello
world!....
HTH.
Cheers,
Jim
------------------------------
Date: 11 Feb 1999 13:07:14 GMT
From: mhaefner@hrz.tu-darmstadt.de (Markus Hdfner)
Subject: looking for a simple multithreaded server example in perl(win32)
Message-Id: <79ukm2$a6o$4@sun27.hrz.tu-darmstadt.de>
...
the server also should be able to handle queries with different priorities.
Perhaps somebody can recommend me a source
best regards,
Markus
------------------------------
Date: Thu, 11 Feb 1999 13:30:43 +0000
From: alex <alex@mediaconsult.com>
Subject: New mailing list: (void) - the philosophy of Programming
Message-Id: <36C2DB83.50382160@mediaconsult.com>
The (void) mailing list is for the discussion of how technology affects the
psyche and the soul. We don't evangelise any points of view and we don't take
ourselves too seriously. (void) is meant for the sharing of everything from
the deep philosophy of unix to idle musing about the net.
Inspirational quotes:
"We are what we think. All that we are arises with our thoughts. With our
thoughts, we make our world."
- Buddha
"If we can dispel the delusion that learning about computers should be an
activity of fiddling with array indexes and worrying whether X is an integer
or a real number, we can begin to focus on programming as a source of ideas."
- Harold Abelson
"There are two major products that come out of Berkeley: LSD and UNIX. We
don't believe this to be a
coincidence."
- Jeremy S. Anderson
To subscribe send a mail to majordomo@slab.org with 'subscribe void' in the
message body.
For (a bit) more info see http://slab.org/void.html
See you,
Alex
------------------------------
Date: Thu, 11 Feb 1999 13:26:36 -0500
From: Alex Farber <alex@kawo2.rwth-aachen.de>
To: rhall@theramp.net
Subject: Re: Newbie sockets question
Message-Id: <36C320DC.1212FEA5@kawo2.rwth-aachen.de>
Rich Hall wrote:
>
> I've read the FAQ and checked out reference.perl.com but can't quite
> find the info I need. I would like to be able to clean up sockets that
> hang in FIN_WAIT. I wish our developers would do this, but other
> projects have a higher priority.
May be setting the SO_LINGER socket option helps?
I would check the Socket-FAQ.
Regards
/Alex
--
http://www.simplex.ru/pref.html
------------------------------
Date: 11 Feb 1999 14:34:30 GMT
From: bbirthisel@aol.com (Bbirthisel)
Subject: Re: OS-supported open-time mandatory file locks from Perl?
Message-Id: <19990211093430.19609.00000017@ng123.aol.com>
Hi David:
>Is there any module in Perl that's implemented for Win32, and that
>will let me do the equivalent of an _sopen with SH_DENYWR? (Ideally
>it'd even be implemented under other systems, as long as the fileserver
>being used was running an operating system that supported that
>semantics, and the network file system in use had a way to communicate
>it; but that'd be asking too much!)
It can certainly be done using Win32::API. I do it in
Win32API::CommPort.pm (bundled with Win32::SerialPort on CPAN).
Tye McQueen was working on a Win32API::File which would
do it easily - but I don't recall seeing that one released yet.
Of course, none of those is cross-platform ;-(
-bill
Making computers work in Manufacturing for over 25 years (inquiries welcome)
------------------------------
Date: Thu, 11 Feb 1999 05:47:48 +0000
From: Marquis de Carvdawg <carvdawg@patriot.net>
Subject: Re: Perl 'zine
Message-Id: <36C26F04.64367D2F@patriot.net>
Hell NO, we won't glow...glossy...
> Why glossy? I've seen other posts supporting the non-glossy format and
> I'd like to put my US$0.02 in for non-glossy also. Easier to read, better
> feel, IMO.
------------------------------
Date: Fri, 12 Feb 1999 00:42:42 +1100
From: Patrick Fong <patfong@yoyo.cc.monash.edu.au>
Subject: Problem with file creation
Message-Id: <Pine.OSF.4.00.9902120040340.16165-100000@yoyo.cc.monash.edu.au>
As you can see with my subject .. I have trouble creating a file using
HTML.
here is my tragic situation - I am doing form processing and I wish to
create a file with respect to the person's name and then input data into
it. When I go onto the next page of my form and press Submit... An error
occurs saying that the file does not exist. So I think that it is probably
that the file was not created in the first place.
here is an abstract of my code
$filen = $FORM{filename};
open (RECORD,">$filen".".txt")||die"Cant create file";
and for sequential pages
open (RECORD,">>$filen".".txt")||die"Cant create file";
Something tells me that I cannot do this... is it possible? Or maybe I
should construct a .pl file that stores the data in fields.
Or if anyone else have any ideas... would really appreciate if you could
help me.
P.
*************************************************************************************
Three rules I live by
1) Everyone has eaten Macdonalds.
2) Everyone has seen Neighbours at least once.
3) Everyone has peed in the shower.
I am 110% Malaysian with 2% Australian.
So when I ask you, "So how?" I would expect you to answer, "Like that lor".
Email:
pfon2@student.monash.edu.au
lielar@hotmail.com
lesdabetter@geocities.com.au
patfong@yoyo.cc.monash.edu.au
patfong@eisa.net.au
*************************************************************************************
------------------------------
Date: Thu, 11 Feb 1999 08:24:54 -0500
From: Michael Bowler <mkbowler@nortelnetworks.com>
Subject: Re: Problems with shell parsing of exec.
Message-Id: <36C2DA26.2CB9F236@nortelnetworks.com>
Abigail wrote:
> Well, how do you expect shell interpretation of special characters is
> going to happen, without starting up a shell?
No I cannot really think of any better way to do this, except maybe the shell
calling an exec rather than spawning a new process. Since this is not something
I am able to control, I restate my question. Is there any way around this?
Thanks,
--
Michael Bowler Phone: 613-765-3432
IC Design Tools - 5T11 ESN: 39+53432
Nortel Semiconductors Email: mkbowler@nortelnetworks.com
------------------------------
Date: 11 Feb 1999 08:53:22 -0500
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: Problems with shell parsing of exec.
Message-Id: <ltd83h2gj1.fsf@asfast.com>
Michael Bowler <mkbowler@nortelnetworks.com> writes:
> Abigail wrote:
> > Well, how do you expect shell interpretation of special characters is
> > going to happen, without starting up a shell?
>
> No I cannot really think of any better way to do this, except maybe
> the shell calling an exec rather than spawning a new process. Since
> this is not something I am able to control, I restate my question.
> Is there any way around this?
Well, you actually *do* have some control over this.
Here's a requote of your original code fragment, with a suggested
change appearing underneath your `exec' call ...
> I am trying to do the following... (simplified code)
>
> unless ($pid = fork) {
> #Child processing...
> exec("$BinaryExe 1>$stdoutfile 2>$stderrfile");
Suggestion:
exec("exec $BinaryExe 1>$stdoutfile 2>$stderrfile");
> }
> #Parent processing...
> kill('HUP', $pid); #Kill off the child.
The outer `exec' replaces the Perl process with your shell, which
then runs the command you specified. The inner `exec' tells the
shell to replace itself with the program whose name is contained
in `$BinaryExe'. Therefore, your `$pid' variable will contain the
process ID of the running program whose name is contained in the
variable `$BinaryExe'.
There are some caveats here, of course ... but this approach might
work for the cases that your program is dealing with.
--
Lloyd Zusman ljz@asfast.com
perl -le '$n=170;for($d=2;($d*$d)<=$n;$d+=(1+($d%2))){for($t=0;($n%$d)==0;
$t++){$n=int($n/$d);}while($t-->0){push(@r,$d);}}if($n>1){push(@r,$n);}
$x=0;map{$x+=(($_>0)?(1<<log($_-0.5)/log(2.0)+1):1)}@r;print"$x"'
------------------------------
Date: 11 Feb 1999 13:01:36 GMT
From: buch@ifh-hp6.bau-verm.uni-karlsruhe.de (Tobias Buchal)
Subject: Q: Perl-interface similiar to GD.pm but PS output
Message-Id: <79ukbg$sbs$2@news.rz.uni-karlsruhe.de>
Hi !
I have program to produce nice GIF-graphs
using the Perl interface GD.pm .
It would be nice if I could use this program
also to produce Postscript files.
Note:
- I am not looking for a possibility to
dump the gif-picture to Postscript
I want a postscript vectorgraphic.
( so that i can print my pictures easily)
- my program does not use the commands for
image manipulation. It uses only commands
to draw lines, boxes and write text.
Does such a library/module exist ?
All hints welcome
Thanks
Tobias
--------------------------------------------------------------
- Dipl.-Ing. Tobias Buchal buch@ifh.bau-verm.uni-karlsruhe.de
- Inst. f. Hydromechnics, University of Karlsruhe, Germany
------------------------------
Date: 11 Feb 1999 12:59:15 GMT
From: buch@ifh-hp6.bau-verm.uni-karlsruhe.de (Tobias Buchal)
Subject: Q: X-profile-plotprogr reading data from pipe ?
Message-Id: <79uk73$sbs$1@news.rz.uni-karlsruhe.de>
Hi !
I am looking for a plotprogram with the following
features to monitor some reference values of a
running application program while to program
is running.
-) simple command language
to define some parameters at startup
(like gnuplot; logarithmic scaling for example )
-) output to X11-window
-) some X11 menues to rescale etc
-) reading data continuosly from pipe
and add them continuosly to the figure
-) menu buttom to print present picture
(in postscript)
-) running under linux
( sources available )
Does a program with these features (or some of them) exist ?
All hints welcome
Thanks
Tobias
--------------------------------------------------------------
- Dipl.-Ing. Tobias Buchal buch@ifh.bau-verm.uni-karlsruhe.de
- Inst. f. Hydromechnics, University of Karlsruhe, Germany
------------------------------
Date: Thu, 11 Feb 1999 07:12:24 -0400
From: Arved_37@chebucto.ns.ca (Arved Sandstrom)
Subject: Re: Question: Arrays of associative arrays
Message-Id: <Arved_37-1102990712240001@dyip-100.chebucto.ns.ca>
In article <36c29ffd@csnews>, tchrist@mox.perl.com (Tom Christiansen) wrote:
> [courtesy cc of this posting sent to cited author via email]
>
> In comp.lang.perl.misc, cpierce1@ford.com (Clinton Pierce) writes:
> :Now that perl.com is more firmly in ORA's grip, they've "trimmed"
> :pointers to non-ORA resources (consultants, Activestate, etc...). I
> :find myself being _very_ specific about trying to indicate which
> :resources may be tainted in which directions, and which resources are
> :clearly better than others.
>
> What the hell are you talking about?
> --tom
I'm wondering myself. I use Perl (MacPerl on MacOS 8.1, Perl 5.005 on
Linux, and ActiveState 509 on Win 98) a fair bit, and I've never noticed
that anyone is pushing an agenda. I can get to resources concerning any
platform from www.perl.com in short order. Mind you, in many cases I
already know shortcuts, so I'll go to a more specific URL etc.
I'd be really hard-pressed to think of a useful resource on www.perl.com
that's been "trimmed", whatever that means.
In Mr Pierce's eyes surely the fact that ActiveState is running some
generic Perl mailing lists must be also cause for some suspicion, or the
fact that www.ptf.com (Prime Time Freeware) is handling MacPerl links. I
wonder what he'd have to say about that? :-) (In my own experience I find
that these outfits are acting very responsibly - I can get my mail
digests, or do my downloads, or do my web browsing, without being
bombarded with company info or being "steered").
Rather a bizarre complaint...
------------------------------
Date: Thu, 11 Feb 1999 18:17:46 +0800
From: "Linus Koh" <jopaloli@mbox2.singnet.com.sg>
Subject: Red Haven - Manchester United
Message-Id: <79uan2$naj$7@mawar.singnet.com.sg>
Do visit my new Manchester United site
http://web.singnet.com.sg/~jopaloli/mufc.htm
--
Linus Koh
linus_koh@hotmail.com
Linus Koh's Home Page
http://web.singnet.com.sg/~jopaloli/
------------------------------
Date: 11 Feb 1999 14:27:00 GMT
From: Brian Dean Swan <swanbria@egr.msu.edu>
Subject: Running script locally in browser
Message-Id: <79upbk$e50$1@msunews.cl.msu.edu>
I am trying to view a script in my browser using Linux 2.0.36 from my machine. The problem is that I just get the actual script showing up in the browser instead of the output. I know the script works, because I can run it from the command line and also after I ftp it up to my ISP. Is there a setting that I need to set on my system? Permissions are set correctly (chmod o+x file.cgi). Do I need a "cgi-bin" server? I have a good grasp on the OS basics, but I will need more detail when dealing with any
thing deeper. Thank you in advance, and please reply to swanbria@pilot.msu.edu
------------------------------
Date: Thu, 11 Feb 1999 13:41:02 GMT
From: Rick Delaney <rick.delaney@home.com>
Subject: Re: shift multi-dimension array
Message-Id: <36C2DFCC.A6D6A593@home.com>
Tom Christiansen wrote:
>
> [courtesy cc of this posting sent to cited author via email]
>
> In comp.lang.perl.misc,
> Rick Delaney <rick.delaney@home.com> writes:
> :Perl really only has one dimensional arrays, on which shift will work
> :fine. Multi-dimensional arrays are emulated by storing references to
> :other arrays.
>
> That's a semantic issue. Larry has stated that Perl *implements* (not
> the pejorative `emulates') multi-dimensional arrays using references.
> Perl *has* multi-dimensional arrays: but you should know that they are
> implemented as references.
I like Larry's semantics better. If I had a bigger vocabulary, I might
have used the word, "implements", myself.
--
Rick Delaney
rick.delaney@home.com
------------------------------
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 4870
**************************************