On Wed, 3 Sep 2003 12:54:07 +0800, [EMAIL PROTECTED] (Jaws) wrote:
>Hi all,
>
>I am currently using Net::SSH::Perl module to login in my remote machine.
>Below is my code:
>
>==
>#!/usr/bin/perl
>
>use Net::SSH::Perl;
>
>$user="jaws";
>$pass="password";
>$host="111.
On 30 Aug 2003 23:15:03 -0400, [EMAIL PROTECTED] (K Old) wrote:
>Hello everyone,
>
>I'm in need of storing a few pieces of text in a text file on my server
>and want to keep it encrypted, but not permission restricted as Apache
>will need to read it and my webserver runs as the nobody user.
>
>I'm
On Fri, 29 Aug 2003 18:19:23 -0300, [EMAIL PROTECTED] (Geraldo Milagre)
wrote:
>Hi,
>
>I would like to write a program to manage my pictures colection and
>generate statics html pages for view the pics. I would like to use Perl
>to do this, as a way to learning more about the language. What reso
On Wed, 27 Aug 2003 11:18:26 +0530, [EMAIL PROTECTED] (T.S.Ravi
Shankar) wrote:
>
>open(STATUS,">> status.txt");
>for ($i=0; $i<=98985;$i++) {
> system ("process");
> if (($i%10)==0)
>{ print STATUS "\n\n $i iterations over !!*\n\n"; }
> }
>close(STATUS);
>
>-
>
On Tue, 26 Aug 2003 23:35:52 +0530, [EMAIL PROTECTED] (T.S.Ravi
Shankar) wrote:
>: I would like to see the status after every 50 runs in a separate
>file. But the following code doesn't look like outputting any thing to
>the statusfile, when the processes are going on for different
>combination
On Sat, 16 Aug 2003 17:25:15 -0700 (PDT), [EMAIL PROTECTED] (Titu Kim)
wrote:
>Hi,
> Thanks for your reply. My purpose is not only to
>run uptime. I need to write a script to log into other
>machines to grep the log file contents. Now, I log in
>one by one and grep the log. I want to use the scr
On Tue, 12 Aug 2003 01:29:39 -0400 (EDT), [EMAIL PROTECTED]
(Perlwannabe) wrote:
>Here is the little script that I am working with and, obviously, is not
>working:
>
>my $filefirst = "c:/perl/myfile.txt";
>open(FILE,"<$filefirst") || die "Could not open file for reading! $!";
>open(TEMP,">$filefi
On Fri, 8 Aug 2003 09:06:25 -0400, [EMAIL PROTECTED] (Stephen
Gilbert) wrote:
>> -Original Message-
>> From: Biju Ramachandran [mailto:[EMAIL PROTECTED]
>> Subject: Re: pid->memory usage - Any takers
>> Please, anybody...
>> >I just want to know is there any way to find out the PID
>> a
On Fri, 08 Aug 2003 11:07:53 +0530, [EMAIL PROTECTED] (Sachin
Hegde) wrote:
>Hi all,
>I am writing an UI application inPerl/Tk. I have some functions which I am
>supposed to run before the application closes. How do I calll this function,
>say Funct(), when the user clicks on the close icon of t
On Thu, 7 Aug 2003 23:39:02 +0200, [EMAIL PROTECTED] (Awards) wrote:
>Hi,
>
>maybe i'm using the wrong module, but that is why i'm here asking.
>I have downloaded a message with an jpg attachment fine.
>But what i want to learn is that we have in the attachment the ugly code.
>So I'm on my windows
On Tue, 29 Jul 2003 14:37:51 +0530, [EMAIL PROTECTED] (Ramprasad)
wrote:
>Hello all,
>
> I am confused at using MIME::Parser and adding attachments
>When I add an attachment thru MIME::Parser it is show as a seperate
>attachment on all clients
>But When I add an inline image thru a mail client
On Fri, 25 Jul 2003 07:57:32 -0500, [EMAIL PROTECTED] (Ramon
Chavez) wrote:
>Maybe I'm missing something here but, It can be done just using HTML, say...
>
>$h= 250;
>$w= 250;
>
>print "\n";
>
>Or maybe you're talking about something more complex and at this time in the
>morning I can't figure out
On Fri, 25 Jul 2003 17:59:56 +1000, [EMAIL PROTECTED] (Unknown Sender)
wrote:
>I am trying to run a perl cgi script for the first time... under linux
>redhat8. my apache works fine. localhost gives me the test page. I have
>this script (very usual)
>
>#! /usr/bin/perl
>
>#!/usr/local/bin/perl
>#
On 17 Jul 2003 08:23:54 -, [EMAIL PROTECTED] (Vemulakonda
Uday Bhaskar) wrote:
>i am tring to tranfer files between two linux systems through
>sftop
>
>i have installed the following modules :
>
>1. Download Net::FTP and Install
>2. Download Net::SFTP .
>
>and the error displayed afte
new(timeout=>45);
my $req = POST
'https://zentara.zentara.net/~zentara/cgi-bin/store/respgen.pl',
[IOC_merchant_id => '4301330018817403',
IOC_order_total_amount => "$grand_total",
IOC_merchant_shopper_id => 'susehost',
# IOC_merchant_order_id
On 09 Jul 2003 09:09:34 -0700, [EMAIL PROTECTED] (John Tarn) wrote:
>i am still a novice in perl so forgive me for this simple question.
>what is socket programming? what do sockets do? is there a site
>that can explain them to me? thanks
>From a really simple viewpoint, I compare sockets to the
On Mon, 7 Jul 2003 21:19:19 -0400, [EMAIL PROTECTED] (Zeus Odin)
wrote:
>I have written an interface for m-w.com. I found some scripts on the web but
>nothing really robust. Please have a look, make comments, request
>functionality, make suggestions, make changes, or anything else you feel
>useful
On 8 Jul 2003 11:06:51 -, [EMAIL PROTECTED] (Vemulakonda
Uday Bhaskar) wrote:
>i have a code in perl which uses sftp between linux systems.
>and i have installed sftp-0.9.9
>
>but it is givibg error saying that
>"Requestion for subsystem 'sftp' failed on channel'1' at
>/usr/lib/perl15/site_p
On 4 Jul 2003 03:38:50 -, [EMAIL PROTECTED] (Vemulakonda
Uday Bhaskar) wrote:
>i have got a code for file transger between two linux systems
>through ssh
>here is the code
You should use Net::Sftp or Net::Scp to transfer files.
I see what you are trying to do. You probably should try to
ope
On Mon, 30 Jun 2003 22:46:10 -0700 (PDT), [EMAIL PROTECTED] (Ling F.
Zhang) wrote:
>This might not exactly be a perl problem...because the
>solution might involve other things...
>
>I have an album I would like to put on line, so I am
>writting cgi script in perl to do it (because I can
>convenien
On Sat, 28 Jun 2003 08:47:33 +1200, [EMAIL PROTECTED] (Voodoo Raja)
wrote:
>Hi all..
>
>Just a quick one..
>
>Is it possible to force my TK application to on top of all the windows that
>are present on the screen.. or rather set the window to be always visible
use $mw ->overrideredirect(1);
#
On 26 Jun 2003 10:14:22 -, [EMAIL PROTECTED] (Vemulakonda
Uday Bhaskar) wrote:
>sir
>
>please help me with the code which does the following :
>
>transfer of files from one system through another system which are
>both working on linux through ssh
>
>as iam in need of it urgently, exepecting
On Mon, 23 Jun 2003 03:40:03 +, [EMAIL PROTECTED] (Mario Kulka)
wrote:
>Could anyone give me step by tep instructions on how to install a perl
>module (MD5) on my host server. How come they don't have it installed? Isn't
>popular enough?
>
>Sorry if I sent the same message for the second tim
On Fri, 20 Jun 2003 09:09:21 EDT, [EMAIL PROTECTED] wrote:
>Do I need to change the http header for transfering image urls? I get errors
>when I transfer a jpg:
>picture cannot be displayed because it contains errors.
It works well for me on linux.
This is one of my favorite scripts by Merlyn.
On Thu, 19 Jun 2003 23:24:04 +0200, [EMAIL PROTECTED]
(Tassilo Von Parseval) wrote:
>And finally the same in XS. It's not the slightest bit harder than with
>Inline::C. The only difference with the XS code below is that I changed
>the return values in that the functions now return false when somet
On Thu, 19 Jun 2003 01:37:09 -0700 (PDT), [EMAIL PROTECTED] (Ben Crane)
wrote:
>Beau,
>
>Thanx, I hunting the info down now, seems quite
>complex. I'm wondering whether it might not be better
>to have a crack at this in C? Have you found perlXS to
>be difficult to implement?
Inline::C and Swig a
On Sat, 14 Jun 2003 01:27:42 -0300, [EMAIL PROTECTED] (Josimar
Nunes De Oliveira) wrote:
>I get an error at line:
>system("/usr/sbin/chpasswd $user:$password")==0 or die "Error: $?";
>and I changed it to:
>system("echo $user:$password | /usr/sbin/chpasswd")==0 or die "Error:
>$?";
>in such
On Thu, 12 Jun 2003 08:44:42 +0200, [EMAIL PROTECTED] (Jaschar Otto)
wrote:
>hi,
>i know there is a perl tk mailinglist but i don't want to
>do all this subscribe stuff atm so i ask here since you
>all helped me a lot already (thanks a lot again) :-)
No need for subscribing to a maillist.
There is
On Tue, 3 Jun 2003 22:38:47 -0700 (PDT), [EMAIL PROTECTED]
(Saurabh Singhvi) wrote:
>well i was trying to understand the "regular
>expressions" in perl when i came across i
>tried my best but i havent been able to get the
>slightest idea on how the input thing works. The
>editor i use is DzSoft.
On Wed, 04 Jun 2003 10:55:40 +1000, [EMAIL PROTECTED] (Paul
Morris) wrote:
>I found this at:
>
>http://www.suse.com/us/private/support/howto/secprog/secprog8.html
>
>...but am having difficulty working it out, because it doesn't seem to
>do what I think it should (and "I" may be the problem!).
>
On Tue, 03 Jun 2003 10:37:12 +0200, [EMAIL PROTECTED] (Jaschar Otto)
wrote:
>I'm always an very curious guy and i just because of that i made a little
>script that analyises my scripts, extracts the subs, counts lines,
>mys, uses, subs, etc... maybe some of you are as courious as i am
>but too laz
Hi,
This one is puzzling me.
I know it's in the faq, to not use variables for variable naming,
but I find it odd that I can't get a "stringified" form of a variable
name, maybe from the symbol table? Or from the B line of modules?
Say I have an array like:
@somename = (1,2,3,4,5);
and I want to
On Wed, 28 May 2003 01:00:51 -0500, [EMAIL PROTECTED] (Nicholas Davey)
wrote:
>The problem I am having is this: When I pass a parameter via a URL, my
>script isnt picking it up, and my if statement is working.
>
>Here is the basic idea behind my script (all PERL standards are followed on
>my host.
On 31 Mar 2003 02:38:43 -0700, [EMAIL PROTECTED] (Jdavis) wrote:
>Hello,
>
>I would like to make a bar graph, in a png or jpg format. Could
>someone suggest a good perl moduel to help me.
And here is a simple example, which includes a bonus logo.
#!/usr/bin/perl -w
use warnings;
use GD::Graph::b
On 18 Mar 2003 23:48:25 -, [EMAIL PROTECTED] (Steve Grazzini) wrote:
>James Kipp <[EMAIL PROTECTED]> wrote:
>> Navid M. <[EMAIL PROTECTED]> writes:
>>>
>>> I was wondering if it's possible to save the error of
>>> a DOS command from the error stream into a variable.
>>>
>> you could try the
On Mon, 17 Mar 2003 12:41:19 -0500, [EMAIL PROTECTED] (Matthew
Stapleton) wrote:
>I am new to this list and perl. I am wanting to find or perhaps write a
>script which will index religious works such as the apocrypha or the
>dhammapada. These texts usually take the form of:
>
>Book Chapter:Verse
On Fri, 14 Mar 2003 10:47:52 -0500, [EMAIL PROTECTED] (Brian
Jefferies) wrote:
> Is there a general consensus regarding compiling perl into binary
>executable?
>
>
>I love perl, but I don't understand the sense in re-compiling the same cgi
>script (for example) 10,000 times a day.
>
>I have
On Wed, 12 Mar 2003 12:02:52 -0500, [EMAIL PROTECTED] (Susan
Aurand) wrote:
>I am getting an error can't locate ASN1.pm, I have tracked that down to - I need
>Convert-BER-1.25.tar.gz. I have downloaded the file. I cannot find the documents on
>this download,
>where to unzip and load, etc... Doe
On Mon, 10 Mar 2003 13:31:47 -0800, [EMAIL PROTECTED] (David
Cheng) wrote:
>Hi all,
>
>How to open, initialize, read and write to a serial port in Perl? Any advice helps,
>thanks.
Get the Device-SerialPort module from http://cpan.org
It has plenty of demos.
--
To unsubscribe, e-mail: [EMAIL
On 04 Mar 2003 22:58:20 -0700, [EMAIL PROTECTED] (Jdavis) wrote:
>Hello,
> I am writing a script to help a user turn a modem
>on and off and adjust the routing tables on a
>Linux box. I am trying to call wvdial to do the dialing,
>but it does not give control back to my script. I call
>it like s
On Tue, 4 Mar 2003 11:51:22 -, [EMAIL PROTECTED] (Rob Dixon)
wrote:
>Luinrandir Hernsen wrote:
>> Hallo
>> What is the maximum number of charecters in a string?
>> $A=123456789
>
>It's hower big a number a 'size_t' value can hold under the
>C compiler that built your Perl. This is usua
On Mon, 03 Mar 2003 09:59:01 -0700, [EMAIL PROTECTED] wrote:
>Is there an issue running perl under linux xinetd where xinetd is
>listening for connections on a UDP port and then forking the following
>perl code. When I do this, the perl code does not see any input on
>STDIN. How does one get at
On Sat, 1 Mar 2003 16:59:38 -0800, [EMAIL PROTECTED] (Ebaad Ahmed)
wrote:
>Hello All,
>I have just installed SuSe on my computer, I can ftp to any ftpsite from
>this but cannot ftp into the machine. How can I make this possibe. Any
>help will be really appreciated.
The suse-linux-e mailling list
On Fri, 28 Feb 2003 16:15:27 -0600, [EMAIL PROTECTED] (Tyler Longren)
wrote:
>I found that if I change $data to "12345678", it works. How can I encrypt a
>string that has more than 8 characters?
>> When I run this code, I recieve this error:
>> "input must be 8 bytes long at
>> /usr/lib/perl5/si
On Wed, 26 Feb 2003 16:51:49 -0500, [EMAIL PROTECTED] (Donna
Runyon) wrote:
>Is there a perl function to check if a value is alphabetic or numeric?
#!/usr/bin/perl
print is_numeric(10),"\n";
print is_numeric('3rd'),"\n";
sub is_numeric {
no warnings;
use warnings FATAL => 'numeric';
return defi
On Tue, 25 Feb 2003 10:30:32 +0530, [EMAIL PROTECTED] (Anand
Ramakrishna) wrote:
> I work on Solaris and I have perl installed. Do I have to install Perl Tk
> separately.
>I got this sample program from the web and I tried to run it in my machine. I get
>this error when I do it.
>"Can't locate
On Mon, 24 Feb 2003 10:45:44 -0800 (PST), [EMAIL PROTECTED] (Madhu
Reddy) wrote:
>Hi,
> does anybody have sample perl script multi
>threaded program
Here are a couple of simple examples.
When you run them, open an xterm an watch "top"
while they run.
##
On Fri, 21 Feb 2003 14:14:08 +0200, [EMAIL PROTECTED] (Yargo) wrote:
>Hi all,
>I have this little script that asks the user for UserName & password.
>
>I can't figure out where do I get the input.
>e.g. :
>UserName = yargo
>Password = q1w2e3
Here's an example:
#!/usr/bin/perl
use Tk;
my $MainWi
On Fri, 14 Feb 2003 11:17:48 -0800 (PST), [EMAIL PROTECTED] (Patricia
Hinman) wrote:
>I don't want to hide the main source code. Only
>encrypt the password on the client side. I could do
>that with a js program. Then my pl file could unwind
>the script. This is to keep people from viewing the
On Thu, 13 Feb 2003 20:57:05 -0800 (PST), [EMAIL PROTECTED] (Patricia
Hinman) wrote:
>OOPS mistake corrected
>> I did stumble across a method call to a cryption()
>---wrong crypt() is the method --
>
>I have just discovered it is a unix function. It
>doesn't decrypt. One must always cr
On Mon, 10 Feb 2003 12:41:57 +0100, [EMAIL PROTECTED] (Angerstein)
wrote:
>If I need an alarm signal alarm(), in less than 1 second what can I do?
Interestingly enough, this just showed up on perlmonks this morning.
http://www.perlmonks.org/index.pl?node_id=23402
Simultaneous alarms under 1 sec
On Sun, 9 Feb 2003 11:45:56 -0600, [EMAIL PROTECTED] (Ktb) wrote:
>Is there any function that places perl code from a file into a program
>as if it was just part of the program file itself?
>
>Something like:
>
>file
>**
>Hello World.
>**
>
>program
>$file = slurp('file');
On Sun, 9 Feb 2003 19:23:16 +0100, [EMAIL PROTECTED] (Anthony) wrote:
>Hi,
>
>But like i said on my second post i wanted to learn how to receive message
>from pipe.
OK, here are two simple scripts which should show you the idea.
One is a reader and one is a writer. Always start and stop the
read
On Sun, 9 Feb 2003 11:02:52 +0100, [EMAIL PROTECTED] (Anthony) wrote:
>Hi,
>
>for the while loop i figure out before your answers, anyhow, my question was
>should i send the whole array or not?
>also is it possible to retrieve the data from the pipe or not?
If you don't want to use a module like
On Wed, 05 Feb 2003 08:28:43 -0500, [EMAIL PROTECTED] (Zentara)
wrote:
>>I have some code using TK. I used perlapp to compile my code, but the
>>external images will not compile into the exe file.
>>How can I include them in the compiler or how can I embed the image wit
On Tue, 4 Feb 2003 15:46:31 -0500, [EMAIL PROTECTED] wrote:
>
>Hello,
>
>I have some code using TK. I used perlapp to compile my code, but the
>external images will not compile into the exe file.
>How can I include them in the compiler or how can I embed the image within
>my perl code ?
>
>$img =
On Tue, 4 Feb 2003 01:58:28 -, [EMAIL PROTECTED] (Anthoni) wrote:
>Hi there,
>
>Can anyone point me to some good resources for learning perl?
>I have the book Javascript, CGI and Perl, but want some online material as
>well
Go to http://perlmonks.org and look thru their "tutorial" section.
On Tue, 4 Feb 2003 09:40:25 +0100, [EMAIL PROTECTED] (Angerstein) wrote:
>Hi,
>
>how can I check if my perl is thread enabled?
>
>I ´m using 5.6.1.
>
>Which Modul to use and where to find?
>(if not cpan)
>
>use threads or use Thread? Which is which?
This is from perl5.8's perlthrtut:
(By the way,
Hi,
I just got interested in 5.8 threads. I have a simple question
about the first basic example in perlthrtut.
My basic question is how to track the pids, and why does the
following program create 4 pids instead of 3? I would expect
3, one for the parent, and one for each of 2 threads.
So run t
On Sun, 26 Jan 2003 16:56:50 -0500, [EMAIL PROTECTED] (Ed Sickafus) wrote:
>Since loading MLDBM-2.01, non-root, on an Apache
> Cobalt Linux release 5.0 (Pacifica)
> Kernel 2.2.16C27_III on an i586 running Perl 5.005_03
>a few weeks ago, I've experienced inconsistent di
ith all the variables defined in
it.
Like this:
#my_config
$customer_directory = 'customers';
$server_address = 'zentara.zentara.net/~zentara'; #basename only
$secure_server_address = 'https://zentara.zentara.net/~zentara';
$cgi_directory = '/cgi-bin/stor
On Thu, 16 Jan 2003 22:34:53 +0100, [EMAIL PROTECTED] (Jenda Krynicky)
wrote:
>> are missing, seemingly random:
>
>Ahh the usual mistake.
>
>The readdir() returns just the file and subdirectory names, not
>complete paths.
>
>Therefore if you opendir() some other directory than '.' you have to
>p
e a little test case to demonstrate the problem.
The following script is run by root in /home/user:
/home/zentara/backup-homex
---
#!/usr/bin/perl -w
@users=('/home/zentara');
#put all user-r
On Wed, 15 Jan 2003 08:46:04 +1100, [EMAIL PROTECTED]
(Colin Johnstone) wrote:
>Is a CSV a comma delimited list. If so when creating a CSV how does one cope with
>fields that have commas in them.
>
>An address filed for example could be written suite 2, lvl 3.
>
>Do you write the field names out
On Mon, 13 Jan 2003 11:15:11 -0600, [EMAIL PROTECTED] (Sean Rowe) wrote:
>>I'm trying to argue my somewhat biased opinion that perl is better than
>>tcl.Any experts out there
>>that actually know why perl is/isn't better than tcl?
I would say "modules" and cpan, and it's very easy to
get he
On Tue, 7 Jan 2003 04:23:22 -0800 (PST), [EMAIL PROTECTED]
(Admin-Stress) wrote:
>Hi,
>
>Anyone have the fastest and efficien way to tail a text file ?
>
>suppose I have a text file "example.txt" and I want to print the last X lines.
>
Well there are alot of "ifs" to consider. How big the file is
On Sun, 5 Jan 2003 00:43:07 +0100, [EMAIL PROTECTED] (Jerry Rocteur)
wrote:
>Hi,
>
>I'm looking for a Perl list a bit more advanced that this one, you
>know, not beginners questions..
>
>I love this list and I'm learning a lot from it but I'm wondering if
>there is another list with less "hello
On Sat, 04 Jan 2003 17:32:22 -0500, [EMAIL PROTECTED] (Mark Goland)
wrote:
>no, I want to use one of Crypt modules which expacts to be passed strings of
>n*16 bytes. How do I go about genereting such blocks ??
#this sub makes all data blocksize of 16 bytes.
sub get16 {
my $data = shift;
On Sat, 04 Jan 2003 01:15:40 -0500, [EMAIL PROTECTED] (Mark Goland)
wrote:
>
>Does anyone know a good place to start on encryption socket streams ??
use Net::EasyTCP;
It has built-in encryption.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, 27 Dec 2002 12:17:36 -0600, [EMAIL PROTECTED] (Michael
Weber) wrote:
>I have a script that listens on a port for a connection, receives some
>data over that connection, and writes it to a file.
>
>This works, but it takes up CPU cycles, RAM etc. when it waits. I am
>trying to get the scri
On Thu, 26 Dec 2002 18:51:47 -, [EMAIL PROTECTED] (Dan) wrote:
>What's the best (and easiest to use) SMS module available? Any ideas?
>
>All help appreciated.
Look at sendSMS.pl
at
http://caspian.dotconf.net/menu/Software/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
On Fri, 13 Dec 2002 05:19:08 -0200, [EMAIL PROTECTED] (Andre) wrote:
>Hi
>I know it is not entirely perl, but can anybody esplain me how does i do upload a
>file using a browser (can i use perl to do this)?
>Thanks
Here's a really simple method using CGI::Simple
#
On Fri, 13 Dec 2002 11:10:54 -0500, [EMAIL PROTECTED] (Ian
Zapczynski) wrote:
>Unfortunately, using the || as below doesn't change the behavior. Once
>my script tries to make the connection and can't, it exists with a
>"connection failed to $host, etc. etc." message, whether I use warnings
>or
On Fri, 13 Dec 2002 10:03:06 -0500, [EMAIL PROTECTED] (Bob
Showalter) wrote:
>> -Original Message-
>> From: Dennis HO Siu-chung [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, December 13, 2002 4:01 AM
>> To: [EMAIL PROTECTED]
>> Subject: Execute perl program without seeing the code?
>>
>>
>
e 9 if you wanted to issue a -TERM).
#Using Proc::Process you could find the process ID
#of the process login -- zentara with something similar
#to the following :
my $proc = Proc::ProcessTable->new;
my @ps = map { $_->pid if ($_->cmndline =~ /login -- zentara/) }
@{$proc->table};
&
On Wed, 11 Dec 2002 18:38:31 -0500, [EMAIL PROTECTED] (B-E-G
Gomes) wrote:
>
>Looking for a simple method of getting a single process ID (for a
>process such as syslogd) and store it in a scalar.
>
>I've found a few methods of doing so but they haven't been pretty.
>
>I'm taking suggestions :)
##
On Tue, 10 Dec 2002 18:37:50 -0500, [EMAIL PROTECTED] (Chad
Kellerman) wrote:
>Mark,
>This is a pain to install. I would do it thru CPAN.
>perl -MCPAN -e shell
>cpan>install Net::SSH::Perl
> I fyou don't have root access to install perl modules, try to use
>Net::SSH.
>
>use strict;
>use warni
On Sun, 8 Dec 2002 23:14:36 -0900, [EMAIL PROTECTED] (Mark-Nathaniel
Weisman) wrote:
>Mark,
> I've got the code you sent installed and working (or almost working
>anyway) snippet below:
>I'm trying to get this silly thing working, so any ideas or suggestions
>are more than appreciated.
Hi,
I use
On Sun, 8 Dec 2002 02:44:25 -0500, [EMAIL PROTECTED] (Jerry M .
Howell II) wrote:
>hello all,
>
> I am looking for a command and the best way to give a non-superuser
>perlscript, ie, one that will be used in a web form the ability to add
>a user using the standard unix admin tools like useradd.
On Thu, 5 Dec 2002 14:24:03 -0500, [EMAIL PROTECTED] (Paul Kraus)
wrote:
>>snip "How to seek last 2k?"
Here's a start for you, getting the last 2k of the file.
Looping and checking for last page break is left up to you. :-)
#!/usr/bin/perl -w
use strict;
my $filename = shift or die "Usage: $0 f
On 04 Dec 2002 11:48:54 +0200, [EMAIL PROTECTED] (Stelian Iancu)
wrote:
>Hello!
>
>I have this cgi script and I want to send mail to the users using the
>local installed sendmail. Can you please explain how to do it? Or please
>point me to a doc that explains this?
There are alot of nice modules
ebserver. What I'm looking for
>is a standalone program that connects to a web server and uploads a file.
>
#!/usr/bin/perl
use warnings;
use strict;
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
my $url ='http://zentara.zentara.net/~zentara/cgi-bin/uploadz';
my $fi
On Mon, 11 Nov 2002 09:49:29 -0600, [EMAIL PROTECTED] (Janfek
Esquivel) wrote:
>I'm having problems installing Perl 5.8 in a server with Solaris 8
>(Developers Installation), because when I want to install Berkley DB I keep
>getting an error message that there's a file missing (libdb.a), I don't
On Fri, 8 Nov 2002 13:48:34 -0800 (PST), [EMAIL PROTECTED] (Carol
Nguyen) wrote:
>Hello,
>
>I just subscribed to this list 2 days ago. I am
>pretty new to perl. I have one question: I need to
>write a little script to auto-start the solaris web
>server when it crashes. How am I about to do thi
On Wed, 06 Nov 2002 10:17:00 -0600, [EMAIL PROTECTED] (Robert
Citek) wrote:
>>I am trying to take a file of variable length on a daily basis and
>>divide it up into 4 equal parts for processing on each file. Does
>>someone have an easy way to do this?
>Below is a sample script which may lead y
On Tue, 5 Nov 2002 08:55:26 -0800, [EMAIL PROTECTED] (Todd
Shifflett) wrote:
>Using: Mac OSX 10.2
>libgd 2.0.4
>
>Can anyone help me make something of this?
>when I try and install GD.pm I get the following errors:
>
>
>cc -c -I/sw/include -I/usr/local/include/gd -I/usr/lib
>-I/System/Li
On Sat, 2 Nov 2002 16:00:44 -0600, [EMAIL PROTECTED] (John Pitchko)
wrote:
>Hi all.
>
>I've been racking my brains out trying to get Perl to write binary files for me. Here
>is my situation. For my
>
>I was thinking that I would record the output from Data::Dumper into a scalar and
>write this
On Fri, 1 Nov 2002 12:45:43 +0100, [EMAIL PROTECTED] (Adriano
Allora) wrote:
>Hi to all,
>I have this problem: I want to put a dot pl file (my perl script) in a
>url and I want it to write the page and the browser to read it.
>For instance, this one could be my perl script:
>
>#!/usr/bin/perl
>
>
On Thu, 31 Oct 2002 14:08:56 +0200, [EMAIL PROTECTED]
(Haluk Avcioglu) wrote:
>Hi;
>When you execute perl script on terminal window (on Linux Redhat),
>can we print texts on different colors and be able to set font and its
>size?
>Thanks. Best regards...
You can print colors, but you can't change
On Mon, 28 Oct 2002 13:54:28 -0500, [EMAIL PROTECTED] (Nikola
Janceski) wrote:
>without using 'tail' how can I get the trailing 5 lines of a large file
>quickly, without loading it all to memory?
>
>is there anyway without pop and shifting through an array foreach line? (<=
>this is the only way I
On Tue, 22 Oct 2002 22:47:45 -0500, [EMAIL PROTECTED] (Mariusz)
wrote:
>Not really perl related but maybe someone did the research..
>Programmers spend lots of hours in front of those text editors. What colors
>(background and font) are the best for the eyes (vision)?
I don't know about the colo
On Mon, 21 Oct 2002 13:44:59 +0200, [EMAIL PROTECTED] (Andreas
Pflug) wrote:
>I am quite new to perl and I am starting with a big problem.
>I just compiled Perl 5.8.0 from the source -> Works fine.
>I added several module -> Works fine.
>I added GD 2.0.1 -> Problem starts:
>
>If I execute this scr
On Sun, 20 Oct 2002 08:17:01 -0400, [EMAIL PROTECTED] (Zentara)
wrote:
>Can someone please point out where my reasoning is flawed
>concerning base64 encoding.
>
>A question recently came up in the Tk newsgroup on how to
>display a jpg image with Tk, directly from a url.
>
>I
On Fri, 18 Oct 2002 00:12:16 -0500, [EMAIL PROTECTED] (Randy
Perkins) wrote:
>i would like to upgrade perl to 5.8.0
>i currently have 5.6.1
>
>i use redhat and perl was originally installed as a precompiled binary
>(.rpm)
>
>i started out with 5.6.0
>and somehow it got updated to 5.6.1
>
>i am wor
On Mon, 21 Oct 2002 00:17:53 -0400, [EMAIL PROTECTED] wrote:
>I am trying to install Digest::MD5 on a linux box (perl 5.6.1, yes i know i
>should,). i have gzip'd and tar'd the package, moved into the directory
>and tried to 'perl Makefile.PL' and i get the following error message:
>Testing al
Hi,
Can someone please point out where my reasoning is flawed
concerning base64 encoding.
A question recently came up in the Tk newsgroup on how to
display a jpg image with Tk, directly from a url.
I could easily do it if I mirrored a temporary jpg file on the local
harddrive, then displayed it;
On Fri, 18 Oct 2002 11:50:43 -0600, [EMAIL PROTECTED] (Matthew C.
Peterson) wrote:
>I am trying to find the dimensions of a graphic with perl. I have the
>PerlMagick (Image::Magick) module, but I'm not sure if that is what I need.
>My purpose is to find the dimensions of an image, then send the x
On Fri, 18 Oct 2002 12:32:29 +1000, [EMAIL PROTECTED]
(Colin Johnstone) wrote:
>Hi all,
>
>How do I print out the copywrite symbol to a text file please.
print char(169);
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm looking at a script that takes a file on STDIN.
###
#!/usr/bin/perl
my $input = \*STDIN;
print "$input\n";
##
If I run it "script < somefile" the result is
GLOB(0x123ab458)
What can you do with that GLOB?
For inst
On Sun, 13 Oct 2002 10:30:06 -0400, [EMAIL PROTECTED]
(David Gerler) wrote:
>I have successfully piped a print statement to gpg. My problem is
>coming in
>when I try to get it back out via a pipe. Can anyone tell me, is it
>possible
>to send data to a another program and the output back with out
1 - 100 of 230 matches
Mail list logo