Hi,
I have a page that creates some dynamic options for a <select>. The options displayed in this <select> are dependent on another <select> which has fixed options.
My problem is that the page these reside on seems to finish loading prior to the arrays of options being completed. This means...
Hi,
I'm generating an HTML page from a CGI script, and am generating a table with various inputs. Some of these are file inputs, and I want to display file names and paths in them.
However, whatever the VALUE is set to in the INPUT the textbox next to the Browse button remains empty...
e.g...
I don't need to use Jscript much so apologies if this is a dumb question.. I've checked the FAQs but still can't work out what's wrong..
Error is saying that object doesn't support method, I presume this means an input doesn't support writeln()?
Any ideas as to how to do this would be...
Hi
I am trying to pass a 2 element array (each element consisting of a hash with three fields, let's call them a, b & c...)
I pass to the func by reference, e.g.
&function(\@myArrayOfHashes);
I try referencing a variable to get hold of the array:
my $reference = shift;
But how do I now...
Hey folks,
I've got a Blade 100 running solaris 8 (2.8).
There seems to be a problem with the /dev/ptmx pseudo-terminal multiplexer. It keeps running out of PTYs either because an application is not releasing them, or no PTYs are being released.
Hence when I rlogin, telnet, rsh I get a...
Hey folks,
does anyone know of any utilities or attempts to implement a z80 emulator in ARM7 assembler? Or a cross-assembler/compiler for Z80, to convert it to ARM code?
I'm new to this assembly lark, so apologies if I make little sense!
Failing the above, anyone know of a z80...
Hey folks, long time no see..
I have a list of lists (or array or arrays if you rather ;-)) and am constantly adding stuff to it. However, I don't want to add duplicates. Therefore I want a quick and easy way of searching all the entries in the matrix for the string I am about to add.
The...
Hi
I'm having trouble getting my scripts to find my web page and vice versa.
In other words my first page has a link to a perl script. This is in ./mobile/cgi-bin compared to my home directory.
Then this creates a page on the fly with a reference to another script in the same cgi-bin...
Folks,
long time no speak.. hurray for project work slowing down for a bit...
My problem is that I am 'porting' a perl script from a Unix box to an NT box. My problems are that when I try and open a file (for reading) with:
open (INF, "example.txt") or print "Couldn't open...
Hi,<br><br> I'm trying to use %ARGV to get command line parameters, however there doesn't seem to be anything in $ARGV[0] or $ARGV[1]. I am wondering if the problem is because the script is being called through another script using the system() call.<br><br> How...
Hi,<br> I've just started trying to use hashes. Basically I want to use a modules package name as the index to the hash so that when a trace function is called it checks to ensure that tracing has been turned ON in that package. <br><br> So I have an...
Hi,<br><br> am I right in thinking that:<br><br><FONT FACE=monospace>$SIG{QUIT} = /&my_func();</font><br><br>will call my_func when a QUIT signal is received? Only when I use the above to create some signal handlers, all that happens is that signal seems to get raised and the function...
Just to check, I am doing this correctly?<br><br><FONT FACE=monospace>my $fh = open(INF, "afile.txt") or die;<br><br>my output = &read_from_file(\*INF);<br><br>sub...
Hey there,<br><br> it's wierd but I can't get the following to work, must be doing something silly somewhere. I need to remove the following strings from a text file:<br><br>"\" i.e. the backslash characeter (usually at the end of a...
Just a quickie.<br><br>Can you subtract strings to do the equivalent of a unix 'diff'. E.g. <br><br><FONT FACE=monospace>$string_1 - $string_2 = $diff_of_strings_1_and_2;</font><br><br>If not, can anyone suggest a simple way of doing the same thing.<br><br>Cheers<br>Loon
Hi,<br><br> I have several modules that need to use the same global variable in several places. This global variable is created and assigned a value in a perl script that 'uses' all the modules. <br><br> However, the variable is not keeping it's...
This might not be as tricky as I think. I've written a tracing module which I am now using in another project. The tracing module opens a local file descriptor and file and then writes tracing information to the file whenever the TRACING::TRACE() function is called in the 'other' project...
Hello again. <br><br> I've got a file full of text which I need to split up on blank lines, e.g. a \n at the begining of the line. Hence I have been using:<br><br><FONT FACE=monospace>while(<INF>)<br>{<br> if...
Is it possible to use say commands such as:<br><FONT FACE=monospace><br>if (/<font color=red>regexp</font>/)<br>{<br> #does some stuff<br>}<br></font><br>But without having to use $_? currently I am able to re-assign the $_ variable with whatever string I want checked but this...
Hi,<br><br> I have to extract a substring for a line of text. I have the line of text within $_ and need to extract a numerical value after a constant string in the line (hence I know where it will be).<br><br> I have an idea of how to do this with a substr command, however...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.