Aloha
I',m trying to execute a command via ssh on a remote maschien via a
perl-cgi script. The app i'm building does this a lot, with 99% of
success. The missing 1% i'm trying to understand and after that to solve.
I use backstick to run the ssh command something like:
my $data = `ssh [EMAIL
Xavier Noria wrote:
On Aug 23, 2005, at 9:51, MNibble wrote:
I'm ask to think of an solution for an Webapp that does some math on
data in an database.
The problem is, the DB has about 40.000.000 entries, the webapp needs
to do mainly math on that data, the math should be "trac
le", so no wild
round offs.
Is Perl ( which i favor ) the right direction to start thinking.
with regards
MNibble
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
.forward is fine for that kind of thing, if you modify it to a pipe
where a perl skript reads from. Then pass the message throw it, while
doing what ever you like with it - for example sleep(3600) in fork / or
threaded spawn of you programm.
MNibble
Rich Fernandez wrote:
Hi folks,
I
[EMAIL PROTECTED] wrote:
MNibble
<[EMAIL PROTECTED]
f ($error != 0)
{
print "exit value $?\n";
my $ex1 = ($exam & 127);
print "show Signal $ex1 \n";
my $ex2 = ($exam & 128);
print "Coredump$ex2 \n";
}
--
with regards
MNibble
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
meone how has the book effective
perl - there is a the "schwarz" sort code, which usage caching for speed
up. ( Randel Schwarz is also on that list .. so maybe ... he can pass it
anyway ).
with regrads
MNibble
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
?
Thanks in advance.
Jakob
why using a hash .. an array is what you are looking for.
my @array;
my $cnt;
open (IN,"<",shift) or die $!;
while()
{
chmop;
$array[$cnt]=$_;
$cnt++;
}
MNibble
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
well i simply can't ...
but if you really want't to get your shellpromt back use a fork for that
process you would like to read from.
something like:
die unless defined ($spawn=fork());
unless ($spawn)
{
open FH,"whoami |";
while()
{
put = `ssh [EMAIL PROTECTED] command_to_get_the_output_from`;
with regard
MNibble
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
o hell"
with regard
MNibble
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Zentara wrote:
On Fri, 10 Jun 2005 11:07:29 +0200, [EMAIL PROTECTED] (MNibble) wrote:
aloha
how do i pipe to the x clipboard from perl ?
Are there diffrent ways from on X to an other ( x.org, Xfree86 )
MNibble
There are alot of difficulties giving a one shot answer, because what
works
Gui wrote:
I'm really sorry for not replying during all this time. I'm involved in
lots of project, and I had to set this one aside for a moment. But now
I'm determined to get this thing fix!
I still have beginner level in perl, and can't quite make sense of the
code you posted.
I asked the net
aloha
how do i pipe to the x clipboard from perl ?
Are there diffrent ways from on X to an other ( x.org, Xfree86 )
MNibble
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
14 matches
Mail list logo