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]
Sent:
-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
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 to
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
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
>
> > like to know why this isn't working. The snippet
> of code in question
> > is as follows
> >
> >
> > if($ARGV[2] =~ /port/i && $ARGV[3] =~ /nick/i)
> > {
> >
>
> Well, on a hunch I'd say that snippet returns false
> because either
> $ARGV[2] doesn't match /port/i, or because $ARGV[3]
> doe
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
>
>
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 use
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
if($ARGV[2] =~ /port/i && $ARGV[3] =~ /nick/i)
{
Thanks
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.
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 ?
On Wed, 30 May 2007 12:14:52 -0400, "Chas Owens" <[EMAIL PROTECTED]>
wrote:
...
> http://www.perl.com/pub/a/2004/06/25/profiling.html
> http://search.cpan.org/~nwclark/perl-5.8.8/utils/dprofpp.PL
> 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=v1&domain=abc
I applicated this rule:
RewriteEngine on
RewriteRule ^/(.+)$ http://www
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=$1&domain=abc
More info here: http://www.modrewrite.com/
Hope it helps.
Cristi Ocolisan
Let the record show: Microsoft is not an Australian c
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 co
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: Hel
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 w
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] =~ /
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
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
[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
if($ARGV[2] =~ /port/i && $ARGV
> 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 ?
>
>
>
>
>
>
>
>
>
>
>
> height="23">
>
>
>
>
>
>
>
> #!/usr/bin/perl
>
> use
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 $response->decoded_con
- Original Message -
From: ""Tony Heal"" <[EMAIL PROTECTED]>
Newsgroups: perl.beginners
To:
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 have removed e
[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 wor
[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 wor
>
> [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 wh
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 Glad
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 s
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 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 handle
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 eac
[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
specif
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 eac
I've scraped an HTML page and gotten back a string that looks like this:
[... bunch of stuff I don't care about ...]
bar
some text here
boing
[... bunch of stuff I don't care about ...]
Is there a Perl module that will take this string and return a hash
representing the current (default) for
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{
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
c
-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
>
42 matches
Mail list logo