Since I'm coming into this conversation late, can you tell me what's
wrong with the program? What kind of errors are you getting?
James
On Sunday, June 1, 2003, at 08:09 PM, anil adenan wrote:
In that case, the path is not the cause on why my socket program wont
work. I've change the first li
On Monday, June 2, 2003, at 06:53 AM, zentara wrote:
Say I have an array like:
@somename = (1,2,3,4,5);
and I want to write that array to a file, but I
want the file named automatically by just
dropping the @ off of the @somename.
How would you go about doing it?
Well, if your still inside your
zentara wrote:
> 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:
>
> @somena
> the life of me, I cannot get there. I have tried...
>
>foreach $key ( keys %$hostsref ) {
>print ("Inserting $key into Database\n");
Try this, the prints are to make it easier to understand, hopefully :-)
# print '$hostsref = ' . $hostsref . "\n";# your or
Mark Martin wrote:
> Hi,
> I have an Oracle table with a Unique Key which is generated by a
> trigger :
>
> CREATE TRIGGER MYTRIGGER
> before insert on MYTABLE
> for each row
> begin
> select MYSEQUENCE.nextval into :new.MYCOLUMNAME from dual; end;
> And this works fine on normal insert
>
> When
R>I am not able to install RPM::Database from Perl-RPM-0.40.tar.gz
R> gives a weird lot of make errors like this.
R> Makefile:93: *** missing separator. Stop.
R> Has anyone faced ( and solved this problem before )
I had this problem as well.
Unfortunately, I can't find my source to back up
On Mon, Jun 02, 2003 at 07:53:06AM -0400 zentara wrote:
> 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?
>
> S
Hi
I was just trying to upgrade my server from redhat 7.2 to redhat 9.0
and now am finding myself in a soup
I am not able to install RPM::Database from Perl-RPM-0.40.tar.gz
gives a weird lot of make errors like this.
Makefile:93: *** missing separator. Stop.
I tried to open the Makefile
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
"Tassilo Von Parseval" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> On Sun, Jun 01, 2003 at 08:36:34PM -0400 Todd Wade wrote:
>
> > "Tassilo Von Parseval" <[EMAIL PROTECTED]> wrote in
> > message news:[EMAIL PROTECTED]
> > > On Sun, Jun 01, 2003 at 11:22:32AM +0200 Kevin Pfeiffer
> [EMAIL PROTECTED] ./summer.pl
> Bareword found where operator expected at ./summer.pl line 78, near "print
> SENDMAIL "TO"
> (Might be a runaway multi-line "" string starting on line 77)
>(Do you need to predeclare print?)
> syntax error at ./summer.pl line 78, near "print SENDMAIL "TO"
On Sun, Jun 01, 2003 at 04:20:28PM -0500 James Edward Gray II wrote:
> On Sunday, June 1, 2003, at 04:12 PM, Ken Tozier wrote:
>
> >No luck. Dropping the \ in 'my $description =
> >DescribeCritter(\%wombatStats);' didn't fix the problem.
>
> You're right. I was dumb. Let me try again...
>
>
On Sun, Jun 01, 2003 at 08:36:34PM -0400 Todd Wade wrote:
> "Tassilo Von Parseval" <[EMAIL PROTECTED]> wrote in
> message news:[EMAIL PROTECTED]
> > On Sun, Jun 01, 2003 at 11:22:32AM +0200 Kevin Pfeiffer wrote:
> >
>
> >
> > open DATA, ">@{[ CFG ]}" or die ...;
> >
> > The part between @{[ ]
In that case, the path is not the cause on why my socket program wont
work. I've change the first line (the path) to the perl interpreter but
it still wont work. Below is the snippet of the code, in case I am
missing anything.
--code--
#!/usr/contrib/bin/perl -w
require 5.002;
use strict;
use So
Hi Gurus
i got stuck up on continuing further,i have a pgm called "xapipgm" running when it
stopped it has to automatically executed by calling #AHDXPAIINIT#
can any one help on this
wud be appreicated ur reply asap.
regards
venkat
#AHDXAPICHECK#
xapipgm=srvtst26.pl
pgrep -f $xapip
"Tassilo Von Parseval" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> On Sun, Jun 01, 2003 at 11:22:32AM +0200 Kevin Pfeiffer wrote:
>
>
> open DATA, ">@{[ CFG ]}" or die ...;
>
> The part between @{[ ]} is arbitry Perl-code that is executed in list
> context and the last expre
[PMFJI] Following up to my own post -
On Sunday, June 1, 2003, at 07:58 PM, WC -Sx- Jones wrote:
/(37.3,200)/; # matches any number x, 37.3 < x < 200
/((37.3,200))/; # matches any number x, 37.3 < x < 200 and
saves it
...
But I cannot seem to get the simple test case working
Using perl2exe
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Sent: Friday, 30 May 2003 6:00 PM
>To: [EMAIL PROTECTED]
>Subject: beginners Digest 30 May 2003 07:59:34 - Issue 1599
>
>
>
>beginners Digest 30 May 2003 07:59:34 - Issue 1599
>
>Topics (message
I am writing a complex PCRE for my Postfix mail server and I would like
to use something along the lines of:
/(37.3,200)/; # matches any number x, 37.3 < x < 200
/((37.3,200))/; # matches any number x, 37.3 < x < 200 and
saves it
/([37,))/; # matches and saves any
Hamish Whittal <[EMAIL PROTECTED]> wrote:
: Now I want to get at the arrays inside the IP address
: keysand for the life of me, I cannot get there. I
: have tried...
:
: foreach $key ( keys %$hostsref ) {
: print ("Inserting $key into Database\n");
: @arr = @{ $hostsref{$key} };
Ken Tozier <[EMAIL PROTECTED]> wrote:
:
: my %wombatStats = GetWombat();
: my $description = DescribeCritter(\% wombatStats);
my $description = DescribeCritter(\%wombatStats);
I didn't try it but I don't think the space after
'%' is a good idea. It is a good idea to get in the
habit of passin
Hi People,
Anyone can help me out. I have a datastructure that looks like this:
$hostsref = {
'10.15.110.1' => [
'10_15_110_1',
'public',
'.1.3.6.1.4.1.9.1.209',
'2
On Sunday, June 1, 2003, at 04:12 PM, Ken Tozier wrote:
No luck. Dropping the \ in 'my $description =
DescribeCritter(\%wombatStats);' didn't fix the problem.
You're right. I was dumb. Let me try again...
my $description = DescribeCritter(\% wombatStats);
Drop the backslash and space here, as
On Sunday, June 1, 2003, at 04:35 PM, James Edward Gray II wrote:
On Sunday, June 1, 2003, at 03:27 PM, Ken Tozier wrote:
my $description = DescribeCritter(\%wombatStats);
This is passing a hash to a hash. No reference required for that.
Just drop the \. I also believe you have a space after
On Sunday, June 1, 2003, at 03:27 PM, Ken Tozier wrote:
my $description = DescribeCritter(\% wombatStats);
This is passing a hash to a hash. No reference required for that.
Just drop the \. I also believe you have a space after the % that
shouldn't be there.
Hope that helps.
James
--
To u
Here's the flip side of yesterday's array question. Now that I know how
to pass associative arrays out of a routine, I'm having trouble trying
to use them in other routines. The best I can figure from reading is
that I need to pass them by reference, but in practice, the terminal
always fills u
On Sun, Jun 01, 2003 at 09:35:56AM -0700 Bob's Demise wrote:
> I've written a Perl/CGI that allows a user to search
> for a string in a specified file. I've yet to make
> this little program widely available - and currently
> with one or two users - it's quite speedy. I
> anticipate no more than
Rob Dixon wrote:
> Bob'S Demise wrote:
> > Hello
> >
> > I've written a Perl/CGI that allows a user to search
> > for a string in a specified file. I've yet to make
> > this little program widely available - and currently
> > with one or two users - it's quite speedy. I
> > anticipate no more tha
Bob'S Demise wrote:
> Hello
>
> I've written a Perl/CGI that allows a user to search
> for a string in a specified file. I've yet to make
> this little program widely available - and currently
> with one or two users - it's quite speedy. I
> anticipate no more than 20 users attempting to access
>
Hello
I've written a Perl/CGI that allows a user to search
for a string in a specified file. I've yet to make
this little program widely available - and currently
with one or two users - it's quite speedy. I
anticipate no more than 20 users attempting to access
the same file at the same time -
On Saturday, May 31, 2003, at 03:28 PM, John W. Krahn wrote:
Richard müller wrote:
Hi,
Hello,
I'm a very newbie with perl. I have a text file and want to read it
line
by line and split it into words:
It depends on how you define "words".
Allow me to drag this old code out of the ether realm:
Thanks for answering David, Jeff and Beau. My script works like a charm
now.
Ken
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Wc -Sx-
Jones wrote:
>
> On Sunday, June 1, 2003, at 05:22 AM, Kevin Pfeiffer wrote:
>
>> use constant CFG => qq|$ENV{'HOME'}/.get_quiz|;
>
>
> Well, you could convert it back to a variable prior to use:
[...]
I would have been happy to have used a variable i
Richard Heintze wrote:
> James,
> The problem occurs when $q->param('next') returns a
> null of sorts because there is no such parameter in
> the URL.
If there is no such parameter then 'param' will return
either 'undef' or an empty list according to context.
> Apparently, this does not get passe
34 matches
Mail list logo