Hmm,
1. I did not sent a solution.
2. I just suggested how you should do.
3. I provided a link where you should ask about your problem.
Cristi Ocolisan
Let the record show: Microsoft is not an Australian company
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
-Original Message-
From: Jeff Pang [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 10:54 AM
To: beginners@perl.org
Subject: Re: Find and replace from CSV
-Original Message-
From: Jeff Pang [EMAIL PROTECTED]
#!/bin/sh
FILE=$1
REPLACED=$2
REPLACEMENT=$3
perl -pi.bak
Hey,
I can not get IPTables-IPv4-0.98 to compile on Centos 5 (v5.8.8 built
for x86_64-linux-thread-multi). Has any one else got this to work or know of
the fix ?
--snip--
make -C libiptc/ all
make[1]: Entering directory `/root/.cpan/build/IPTables-IPv4-0.98/libiptc'
make[1]: Nothing
On 8/10/07, Purohit, Bhargav [EMAIL PROTECTED] wrote:
snip
X=Hi
Export $X
Perl -e 'print $ENV{x}'
But it also do not works !
snip
That is because Export $X is not shell code (or at least not any
shell I am familiar with). Even export $X, which is valid shell
code, won't do what you want
Mr. Shawn H. Corey wrote:
[EMAIL PROTECTED] wrote:
Morning All,
I've a relatively minor problem that has been giving me a headache for
several days. I know there are many other ways to do this, however I'd
like to know why this isn't working. The snippet of code in question
is as
like to know why this isn't working. The snippet
of code in question
is as follows
snip
if($ARGV[2] =~ /port/i $ARGV[3] =~ /nick/i)
{
snip
Well, on a hunch I'd say that snippet returns false
because either
$ARGV[2] doesn't match /port/i, or because $ARGV[3]
doesn't match /
On Aug 10, 6:26 am, [EMAIL PROTECTED] wrote:
Morning All,
I've a relatively minor problem that has been giving me a headache for
several days. I know there are many other ways to do this, however I'd
like to know why this isn't working. The snippet of code in question
is as follows
snip
Hello,
well this is more of a mod_rewrite question.
The problem is that you have to use the QUERY_STRING variable in order
to access parameters, these are not part of the normal scope of the
RewriteCond / RewriteRule stuff. Refer to the mod_rewrite guide for that.
We use this to append a
Morning All,
I've a relatively minor problem that has been giving me a headache for
several days. I know there are many other ways to do this, however I'd
like to know why this isn't working. The snippet of code in question
is as follows
snip
if($ARGV[2] =~ /port/i $ARGV[3] =~ /nick/i)
{
snip
Hmm,
then please don't post your WRONG solution sample.
-Original Message-
From: [EMAIL PROTECTED]
To: beginners@perl.org
Sent: Fri, 10 Aug 2007 6.26PM
Subject: Re: Help me with an url rewrite
Hmm,
1. I did not sent a solution.
2. I just suggested how you should do.
3.
Thank you.it works perfectly.
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: beginners@perl.org; [EMAIL PROTECTED]
Sent: Fri, 10 Aug 2007 6.16PM
Subject: Re: Help me with an url rewrite
Hello,
well this is more of a mod_rewrite question.
The problem is that you
Hi, I just set up an account on www.godaddy.com and uploaded my cgi
scripts there. One of them works fine and the other does not. The
technical support rep told me that I needed to figure out how to go
into the CGI Admin in order to debug the issue. I don't see a
CGI::Admin module available.
On Wed, 30 May 2007 12:14:52 -0400, Chas Owens [EMAIL PROTECTED]
wrote:
snip/
...
http://www.perl.com/pub/a/2004/06/25/profiling.html
http://search.cpan.org/~nwclark/perl-5.8.8/utils/dprofpp.PL
snip/
The following code seems to speed up the parsing by two orders of
magnitude (2.214 seconds
There has got to be a better way (or more elegant way) to do this.
I have 2 DNS files from bind9. I have removed everything but the relevant info
I want. That info is as follows:
A 123.213.123.123
a-stagingA123.123.123.122
CNAME software.mycompany.com
I'm not sure if I've asked the correct lists,but hope I can get some
helps here.:)
I need a mod_rewrite rule,rewrite this url:
http://abc.site.com/index.php?q1=v1
to:
http://www.site.com/index.php?q1=v1domain=abc
I applicated this rule:
RewriteEngine on
RewriteRule ^/(.+)$
First, you are correct.
This is not the list you need.
You should use something like this:
RewriteRule ^index.php/(.*)$ http://www.site.com/index.php?q1=$1domain=abc
More info here: http://www.modrewrite.com/
Hope it helps.
Cristi Ocolisan
Let the record show: Microsoft is not an Australian
Sorry first.
But have you looked at my question carefully?
Your solution CAN'T work at all!
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; beginners@perl.org
CC: [EMAIL PROTECTED]
Sent: Fri, 10 Aug 2007 6.06PM
Subject: RE: Help me with an url rewrite
First, you are
Well,
Next time try to find the CORRECT LIST.
Cristi Ocolisan
Let the record show: Microsoft is not an Australian company
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 1:34 PM
To: [EMAIL PROTECTED]; beginners@perl.org
Subject: Re:
On Aug 10, 8:28 am, [EMAIL PROTECTED] wrote:
I ought clarify.
No, you ought to post a short-but-complete script to start with, and
not assume you know what one specific line of the program is causing
problems.
It's not a problem with the command line, or anything like that, it's
a problem
On Aug 10, 9:27 am, [EMAIL PROTECTED] (Oryann9) wrote:
Another hunch looking at your syntax, ideally you
should be using the lesser precedence operator 'and'
instead of the higher precedence operator ''. Yes
plz show the command line string. :)
if($ARGV[2] =~ /port/i and $ARGV[3] =~ /nick/i)
On Aug 10, 1:18 am, [EMAIL PROTECTED] (Inventor) wrote:
Hi, I just set up an account onwww.godaddy.comand uploaded my cgi
scripts there. One of them works fine and the other does not. The
technical support rep told me that I needed to figure out how to go
into the CGI Admin in order to debug
On Aug 10, 1:18 am, [EMAIL PROTECTED] (Inventor) wrote:
Hi, I just set up an account onwww.godaddy.comand uploaded my cgi
scripts there. One of them works fine and the other does not. The
technical support rep told me that I needed to figure out how to go
into the CGI Admin in order to debug
[EMAIL PROTECTED] wrote:
Morning All,
I've a relatively minor problem that has been giving me a headache for
several days. I know there are many other ways to do this, however I'd
like to know why this isn't working. The snippet of code in question
is as follows
snip
if($ARGV[2] =~ /port/i
I'm trying to post to a web form and get the results back,
I've tried but it seems that I am not posting anything to the page.
What am i doing wring ?
form name=search method=post action=index.php?action=edir
tr
td align=left valign=baseline
table width=100% border=0 cellspacing=0
On 08/10/2007 03:00 PM, Typos wrote:
I'm trying to post to a web form and get the results back,
I've tried but it seems that I am not posting anything to the page.
What am i doing wring ?
[...]
my $response = $browser-post( $URL,
[ 'searchtype' = '3';
]
);
print
- Original Message -
From: Tony Heal [EMAIL PROTECTED]
Newsgroups: perl.beginners
To: beginners@perl.org
Sent: Friday, August 10, 2007 4:23 PM
Subject: comparing elements of arrays
There has got to be a better way (or more elegant way) to do this.
I have 2 DNS files from bind9. I
[EMAIL PROTECTED] wrote:
Mr. Shawn H. Corey wrote:
[EMAIL PROTECTED] wrote:
Morning All,
I've a relatively minor problem that has been giving me a headache for
several days. I know there are many other ways to do this, however I'd
like to know why this isn't working. The snippet
[EMAIL PROTECTED] wrote:
Mr. Shawn H. Corey wrote:
[EMAIL PROTECTED] wrote:
Morning All,
I've a relatively minor problem that has been giving me a headache for
several days. I know there are many other ways to do this, however I'd
like to know why this isn't working. The snippet
[EMAIL PROTECTED] wrote:
Mr. Shawn H. Corey wrote:
[EMAIL PROTECTED] wrote:
Morning All,
I've a relatively minor problem that has been giving me a headache
for
several days. I know there are many other ways to do this, however
I'd
like to know why this isn't working. The
Good Morning all,
1) I am new to Perl
2) Running ActiveState Perl
3) Trying to find/install a module: Spreadsheet::WriteExcel
4) Can anyone provide me instruction on:
a) where and how I can get it?
b) How to install it on my PC
Thanks
Daniel H
On Aug 9, 10:18 pm, [EMAIL PROTECTED] (Inventor) wrote:
go into the CGI Admin in order to debug the issue.
I suspect this is a web-based control panel where customers can manage
their stuff without shell access. This is probably how you would do
things like setting file permissions (which I
On Fri, 2007-08-10 at 08:39 -0500, Gladstone Daniel - dglads wrote:
Good Morning all,
1) I am new to Perl
2) Running ActiveState Perl
3) Trying to find/install a module: Spreadsheet::WriteExcel
4) Can anyone provide me instruction on:
a) where and how I can get
I am trying to read a csv file into a 2D array matrix
I am having a hard time trying to get the array returned by split
function to attach to a 2D array.
See the code below for further info on what I'm trying to do
## initialize
$row = 0;
$col = 0;
## go thru each line of file
while
I am attempting to use the File::Temp libraries to read and write to
auto generated files but I am having trouble reading from the file
after the data has been written. I believe this to be something
specific to how tempfile() works because I have been able to
successfully read from a scalar
Mahurshi Akilla wrote:
I am trying to read a csv file into a 2D array matrix
I am having a hard time trying to get the array returned by split
function to attach to a 2D array.
See the code below for further info on what I'm trying to do
## initialize
$row = 0;
$col = 0;
## go thru each
[EMAIL PROTECTED] wrote:
I am attempting to use the File::Temp libraries to read and write to
auto generated files but I am having trouble reading from the file
after the data has been written.
That is because the file pointer is at the end of the file.
I believe this to be something
Mahurshi Akilla wrote:
I am trying to read a csv file into a 2D array matrix
I am having a hard time trying to get the array returned by split
function to attach to a 2D array.
See the code below for further info on what I'm trying to do
## initialize
$row = 0;
$col = 0;
## go thru each
I've scraped an HTML page and gotten back a string that looks like this:
[... bunch of stuff I don't care about ...]
form action=foo.php method=POST
input type=hidden name=val1 value=someval
input type=text name=val2 value=anotherval
select name=selectfield
option value=foobar
option value=lala
Does anyone see anything wrong with the following:
-labels= {map ({$$_[0]=$$[1]0?$$_[0] *:$$_[0] _} @$servers)},
I can not get the map to return the _true_ value... $$_[1] is either 1
or 0...
The following works...
-labels= {map ({$$_[0]=imap($$_[0],$$_[1])} @$servers)},
sub imap{
my
Moon, John wrote:
Does anyone see anything wrong with the following:
-labels= {map ({$$_[0]=$$[1]0?$$_[0] *:$$_[0] _} @$servers)},
^
$$[1] is wrong. It should be $$_[1] or better $_-[1].
John
--
Perl isn't a toolbox, but a small machine shop where you
can
-Original Message-
From: Gladstone Daniel - dglads [EMAIL PROTECTED]
Sent: Aug 10, 2007 9:39 PM
To: beginners@perl.org
Subject: New to Perl
Good Morning all,
1) I am new to Perl
2) Running ActiveState Perl
3) Trying to find/install a module: Spreadsheet::WriteExcel
4) Can anyone
41 matches
Mail list logo