[EMAIL PROTECTED] wrote:
Hello,
I am trying to write a search and replace script that can accept multiple
arguments, but i want the first argument to be the filename to read, the
next one to be the string to search for, the next one to be the replacement
string, and the last one to be the name of
Yes, I am running as root. gmake and gcc are in the path, tested this
before trying the install.
Thanks,
-JR Miller
-Original Message-
From: Eliezer Ramm [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 25, 2004 06:00
To: JR Miller
Subject: Re: Errors installing modules on Solaris 9
a)
- Original Message -
From: JR Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 25, 2004 6:28 AM
Subject: Errors installing modules on Solaris 9
New to loading PERL modules and can't figure this one out. Running
Solaris
9 with current patches, PERL is v5.6.1 built for
- Original Message -
From: JR Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 25, 2004 6:28 AM
Subject: Errors installing modules on Solaris 9
New to loading PERL modules and can't figure this one out. Running
Solaris
9 with current patches, PERL is v5.6.1
Another question, so far i have this script:
#!/usr/bin/perl
use IO::File;
die Usage: script OLD_FILE, SEARCH, REPLACE, NEW_FILE\n
unless @ARGV == 4;
my($old_file, $search, $replace, $new_file) = @ARGV;
$fh = new IO::File $new_file;
if (defined $fh) {
while(){
Hello, there!
I need to implement the thing in the subject described.
Conceptually there are two steps:
1) logging into the system at some web-server;
2) getting some binary (zip or exe) and putthing this at my web-server.
I imagine approximately how can I implement the first step. But I don't
greets to Peter Scott for pointing to Randal Schwartz's answer on C.L.P.M.
http://groups.google.com/groups?hl=enlr=ie=UTF-8selm=86hds1fa6n.fsf%40blue.stonehenge.com
[SOLUTION]
use List::Util from CPAN
http://search.cpan.org/~gbarr/Scalar-List-Utils-1.14/lib/List/Util.pm
basically you use the
Hallo to all from a newby,
I am facing the following problem, in a HTML document (www.primocenter.net) I
put the intruction, in the guest.html:
FORM ACTION=cgi-bin/email.pl METHOD=POST, when I press submit,
effectively, the program opens the file /cgi-bin/mail.it, but when i try,
from the
Nicolay A. Vasiliev wrote:
I don't know anything how to download the file via perl script.
This code, which I copied from a program of mine, may get you started:
open FILE, $dir/$file or die Can't open ... $!;
binmode FILE;
binmode STDOUT;
print Content-Type: application/zip\n,
On Sun, 2004-07-25 at 19:17, renzo rizzato wrote:
The requested URL /cgi-bin/index.html was not found on this server.
For a reason I cannot understand, the system keeps to stay in the cgi-bin
directory, why?
You haven't shown any code, so I'm going to make a wild guess.
You have a link to
Renzo Rizzato wrote:
Hallo to all from a newby,
I am facing the following problem, in a HTML document
(www.primocenter.net) I put the intruction, in the guest.html:
FORM ACTION=cgi-bin/email.pl METHOD=POST, when I press
submit, effectively, the program opens the file /cgi-bin/mail.it,
but when i
Alle 20:24, domenica 25 luglio 2004, David Dorward ha scritto:
On Sun, 2004-07-25 at 19:17, renzo rizzato wrote:
The requested URL /cgi-bin/index.html was not found on this server.
For a reason I cannot understand, the system keeps to stay in the cgi-bin
directory, why?
You haven't
On Jul 25, 2004, at 12:55 PM, [EMAIL PROTECTED] wrote:
Another question, so far i have this script:
#!/usr/bin/perl
use strict;
use warnings;
The above two lines ask Perl to hold you to the laws of good
programming. In return, you'll get better error messages and warnings
about things that
Codes goes along this way :
$current_record = $_;
if (substr($current_record, 0, 6) eq 'GRSUMC') {
# Remove new line marker
chomp($current_record = $current_record);
# Attach run no to end of record
$current_record = $current_record . $run_no . \n;
}
14 matches
Mail list logo