Here is my way:
if(scalar(grep(/^$object$/, @Equipped))) {
@Equipped= grep { $_ ne $object } @Equipped;}
It searches the array @Equipped for an objext if it finds it then removes it
be searching threw the whole array and skiping the object as it assigns it
to the array. Hope this helps.
Regard
But what about cases of having two image buttons? Does the one that is
clicked default as submit or does this require java script?
Regards,
André C.
Technical Support
Ô¿Ô¬
-
Visit our support manual at http://supportman
>
>
I personaly have had trouble with this. what exactly tells it that it is
the submit button and not just a button?
Andre
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
please let me know how:)
Regards,
Andre` C.
Technical Support
ԿԬ
-
Visit our support manual at http://supportmanual.com/
- Original Message -
From: "Tommy Butler" <[EMAIL PROTECTED]>
To: "Andre`
HI,
I needs some tips and or place to find code to hide my source code. not
just encrypt the perl scripts but to disable the view source so people can
not see my query_string calls and html source. Does ANYONE have a solution?
Regards,
Andre` C.
Technical Support
ԿԬ
---
..exe files are win32 binaries. I am not a perl guru but I am C/C++;) I
think you would need to compile it as under linux the OS does not care what
a file extension is(Most the time) But windows considers things like .exe
and .com to be compiled binaries.
Regards,
Andre` C.
Technical Support
ԿԬ
http://supportmanual.com/
- Original Message -
From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
To: "Andre` Niel Cameron" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 12, 2001 11:38 AM
Subje
Hi,
I have a pain in the butt array that SOMETIMES has a CR at the end and
sometimes does not. Can anyone think of a way to test to see if the \n is
there and if it is then chop else no chop? Cause if I just use chop then it
starts chopping off letters sometimes...
Regards,
Andre` C.
Technical
Hi,
I have a prob:) I need to search threw an array and remove an item based on
its name. I was thinking about maybie a for each loop but I am not sure how
to go about it. Heres what I need to do:
say $object= sword;
I have an array @AllObjects('beer', 'nuts', 'sword', 'and more stuff')
Now s
Hi,
I have a prob:) I need to search threw an array and remove an item based on
its name. I was thinking about maybie a for each loop but I am not sure how
to go about it. Heres what I need to do:
say $object= sword;
I have an array @AllObjects('beer', 'nuts', 'sword', 'and more stuff')
Now s
Hey I got an error on a script and went to run it from the command line to
figure out what i forgot but to my surprise I got this:
(offline mode: enter name=value pairs on standard input)
What the he$$ is it and how can I get by it to run my script from the
command line?
Regards,
Andre` C.
Techn
Sure, Something like this:
open(DAT, ">index.html" || die ("Cant Open the file");
print DAT "PAGE";
print DAT "Some more stuff here";
close DAT;
Regards,
Andre` C.
Technical Support
Ô¿Ô¬
-
Visit our support manual at h
Hi,
Ok we have a new type of RH server here and I need to get one of our scripts
to work on the box. It works odly enough on our other servers and SOME of
the new servers. On some servers the setup script works fine but when you
goto the store (This is a shoping cart) it seams to hang. I tried
es it work differently?
Regards,
Andre` C.
Technical Support
ԿԬ
-
Visit our support manual at http://supportmanual.com/
- Original Message -
From: "Curtis Poe" <[EMAIL PROTECTED]>
To: "Andre` Niel Cameron" <[EMAIL PROTECTED]>;
Hi,
I am having a bit of a problem. Does anyone have any idea how I could have
a variable and see if the value of that variable is also located in an array
and hash? IE:
$myvar= 6
@myarray= ("4", "7", 10", 6")
if (6 exists in @myarray) (
dothis}
else{
dothis}
andre
Regards,
Andre` C.
Techni
you want to put in the SSIs. HTML or are you trying to include
Perl?
>
> joel
>
> -Original Message-
> From: Andre` Niel Cameron [mailto:[EMAIL PROTECTED]]
> Sent: 27 November 2001 20:40
> To: Balaj, Geraldine; yahoo; CGI Beginners
> Subject: Re: Cache Question
, Geraldine
To: 'Andre` Niel Cameron' ; yahoo ; CGI Beginners
Sent: Tuesday, November 27, 2001 3:22 PM
Subject: RE: Cache Question
Had this same problem about a year ago.
When your script runs - it renders the page - one load. Placing SSIs in your Token
Print "chun
Question
> Andre,
> are saying that you are trying to write out SSIs from perl but the SSI is
> not being parsed?
>
> joel
>
> -Original Message-
> From: Andre` Niel Cameron [mailto:[EMAIL PROTECTED]]
> Sent: 27 November 2001 19:54
> To: [EMAIL PROTECTED];
To: "Andre` Niel Cameron" <[EMAIL PROTECTED]>; "CGI Beginners"
<[EMAIL PROTECTED]>
Sent: Tuesday, November 27, 2001 2:03 PM
Subject: Re: Cache Question
> --- Andre` Niel Cameron <[EMAIL PROTECTED]> wrote:
> > When you use ssi what is the conent type is i
When you use ssi what is the conent type is it still text/html?
Andre
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I use a form to manipulate movement in a CGI game I am working on. The
problem is it appears that the browser is caching the page so they
directions the player can move do not appear to be updateing. Is there a
way to not allow the browser to cache a page or force a refresh? as alwasy
you
Hi,
Anyone know how to get a whole random number in perl?
rand(18) always gives decimals I need just like 12 or 7 anyone know?
Regards,
Andre` C.
Technical Support
ԿԬ
-
Visit our support manual at http://supportmanual.
I hate to ask but why isnt this thing sending me to the frames page if I
already have the cookie?
if ($ENV{'QUERY_STRING'} eq "") {
&Get_Cookie;
if (exists($cookie{'SessionID'})) {
&MainFrames_Page;
} else {
&login_page;
}
}
R
> if ( defined $cookie ) {
> print $q->redirect("/gamepage.htm");
> } else {
> print "Location: /index.htm\n\n";
> }
>
This did not work anyone else have any ideas?
> untested.
>
> -Original Message-
> From: "Andre` Niel Camer
Is there anyone on this list?
Regards,
Andre` C.
Technical Support
ԿԬ
-
Visit our support manual at http://supportmanual.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Ok, I finaly joined a perl list as I have been banging hy head against the
wall for 3 days trying to get this to work! I would really appreciate any
help:) Heres is the problem:
I have a script that after you "Login" it should give you a cookie and then
load the game start page. Well problem i
26 matches
Mail list logo