On 24 Oct 2005 at 11:48, Ovid wrote:
I am trying to access the parameter list from a form. I keep getting
a Not an ARRAY reference at (eval...). The error seems to refer to
my @names = $q-param;
I suspect you're off by a couple of lines:
my @names = $q-param;
my $params =
Hi ,
I am trying to dynamically change file name of an html
that is generated through a cgi script, I know that
for it is easy to do this for other type of files such
as pdf or csv which we download and save , we can use
Content-Disposition: attachment; filename =
abc.pdf to change the file name.
--- Dermot Paikkos [EMAIL PROTECTED] wrote:
I still get the error if I remove those lines:
1 #!/usr/bin/perl -w
2
3 use strict;
4
5 use CGI qw\standard cgi-lib\;
6 use CGI::Carp qw(fatalsToBrowser);
7
8 $CGI::POST_MAX = 1024 * 1000; # Set
Thanks..
Now I want to change the string in file.
orgtext=C:\\test;
newtext=/bin/old;
I tired $intext =~ s/$orgtext/$newtext/ms; but this is not working..
Any help..
Regards
Hridyesh
-Original Message-
From: Chris Devers [mailto:[EMAIL PROTECTED]
Sent: 25 October 2005 10:21
To: Pant,
M. Lewis wrote:
I'm trying to create a file of a certain size. Specifically 15MB for
some testing purposes. I want this file to have random characters. I'm
sure it would be easier (faster) to use the same character. What I'm
finding is my code is terribly slow to create a 15MB file.
Is
Pant, Hridyesh am Dienstag, 25. Oktober 2005 08.08:
Thanks..
Now I want to change the string in file.
orgtext=C:\\test;
newtext=/bin/old;
I tired $intext =~ s/$orgtext/$newtext/ms; but this is not working..
Wrong modifiers /ms. See
perldoc perlre
perldoc perlretut
joe
--
To unsubscribe,
But the same is working if I am using
orgtext=Hello;
newtext=world;
I tired $intext =~ s/$orgtext/$newtext/ms; but this is not working..
The only problem is string like C:\\test.
Hridyesh...
-Original Message-
From: John Doe [mailto:[EMAIL PROTECTED]
Sent: 25 October 2005 14:08
To:
hi,
Because of network problem,my script can't create Mysql dbh sometime
when running,then it died.I have written code like this:
my
$mysql_dbh=DBI-connect(dbi:mysql:$mysql_db:$mysql_host,$mysql_user,$mysql_passwd,
{PrintError = 1,RaiseError = 0});
I want to
Pant, Hridyesh am Dienstag, 25. Oktober 2005 11.04:
But the same is working if I am using
orgtext=Hello;
newtext=world;
I tired $intext =~ s/$orgtext/$newtext/ms; but this is not working..
The only problem is string like C:\\test.
I was not well prepared with my last answer.
First, the
Thanks a lot john...
-Original Message-
From: John Doe [mailto:[EMAIL PROTECTED]
Sent: 25 October 2005 16:20
To: beginners@perl.org
Subject: Re: extract zip file
Pant, Hridyesh am Dienstag, 25. Oktober 2005 11.04:
But the same is working if I am using
orgtext=Hello;
newtext=world;
Thanks a million Chris!
I could use this module very well for the file upload part!
Now working on the file download, which is giving me some trouble...
I'm trying it on Windows, with Active Perl 5.8.7, and when I run the program
to download a file using this, my computer just starts beeping
Dear Sirs,
Given this array:
my @array = qw (A B C D E );
I want to enumerate all its possible ranges
throughout the elements. Such that it gives
the following desired answer, that look like this ( I manually crafted it):.
my $ans = [ 'A',
'B',
John Doe wrote:
Pant, Hridyesh am Dienstag, 25. Oktober 2005 11.04:
But the same is working if I am using
orgtext=Hello;
newtext=world;
I tired $intext =~ s/$orgtext/$newtext/ms; but this is not working..
The only problem is string like C:\\test.
I was not well prepared with my last answer.
On Oct 25, 2005, at 16:36, Edward Wijaya wrote:
Given this array:
my @array = qw (A B C D E );
I want to enumerate all its possible ranges
throughout the elements.
Math::Combinatorics can help there.
-- fxn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Dear Sirs,
Given this array:
my @array = qw (A B C D E );
I want to enumerate all its possible ranges
throughout the elements. Such that it gives
the following desired answer, that look like this ( I manually crafted
it):.
my $ans = [ 'A',
'B',
On 10/25/05, John W. Krahn [EMAIL PROTECTED] wrote:
M. Lewis wrote:
I'm trying to create a file of a certain size. Specifically 15MB for
some testing purposes. I want this file to have random characters. I'm
sure it would be easier (faster) to use the same character. What I'm
finding is
FIRST STAGE
My idea is to check auth.log file for it changes and create files based on it's
source IP, for example, if there are login request from 192.168.0.1, so the
system shall filter the log and create db.192.168.0.1; in this new filtered log
file, it shall consist of the time and the
My idea is to check auth.log file for it changes and create
files based on it's source IP, for example, if there are
login request from 192.168.0.1, so the system shall filter
the log and create db.192.168.0.1; in this new filtered log
file, it shall consist of the time and the
My idea is to check auth.log file for it changes and create
files based on it's source IP, for example, if there are
login request from 192.168.0.1, so the system shall filter
the log and create db.192.168.0.1; in this new filtered log
file, it shall consist of the time and the
This is a segment of code to do string search:
my $email = \pineyan;
my $name = \\pine;
if($email =~ /($name)/) {
print Found my name: $name!\n;
}
and I got the following error when running:
Can't find unicode character property definition via main-i or
i.pl at unicode/Is/i.pl
On Oct 25, Pine Yan said:
This is a segment of code to do string search:
my $email = \pineyan;
my $name = \\pine;
if($email =~ /($name)/) {
print Found my name: $name!\n;
}
and I got the following error when running:
Can't find unicode character property definition via main-i
Dear Steve Bertrand,
At the moment I only have my script in bash, and found that there are many
issues with my script. I would appreciate if anyone can write me a script that
can accomplish what this.
I shall take it from there and enhance to suit my environment. Please assist.
I am
On Tue, 25 Oct 2005, mynullvoid wrote:
At the moment I only have my script in bash, and found that there are
many issues with my script. I would appreciate if anyone can write me
a script that can accomplish what this.
Super. How much were you thinking of paying? Are you taking bids?
(Hint:
Jay Savage wrote:
On 10/25/05, John W. Krahn [EMAIL PROTECTED] wrote:
M. Lewis wrote:
I'm trying to create a file of a certain size. Specifically 15MB for
some testing purposes. I want this file to have random characters. I'm
sure it would be easier (faster) to use the same character. What
Hi
while renaming a file I am getting below error on windows environment..
Couldn't rename to : Permission denied
Couldn't rename to : Permission denied
Couldn't rename to : Permission denied
Can any body suggest me...how to remove this error..
Thanks
Hridyesh
--
To unsubscribe, e-mail:
25 matches
Mail list logo