I need to display ticks and crosses in a web page. They do not have HTML character entities and I am struggling to find a cross-browser-compatible way to display them. I am currently using .tick { font-family: WingDings; color: green; }
.cross { font-family: WingDings; color: red; } in the...
I am migrating from Informix SE to Oracle 9i and attempting to learn Oracle SQL as I go. I am currently translating SQL which is read by a reporting tool which imposes a few constraints: I am allowed multiple SQL statements but the last statement must return the data that will construct the...
I'm a novice java programmer writing scripts to generate HTML pages. All the examples I've found use code like
strHTML += "<a href=\"" + strURL + "\">";
strHTML += strLinkText + "</a>\n";
I've been writing in perl for many years and the standard module, CGI.pm, allows me to use syntax like...
I'm a novice java programmer writing scripts to generate HTML pages. All the examples I've found use code likestrHTML += "<a href=\"" + strURL + "\">";
strHTML += strLinkText + "</a>\n";
I've been writing in perl for many years and the standard module, CGI.pm, allows me to use syntax like$HTML...
I'm using Perl 5.8.4 on Debian 3.1 with DBI version 1.46 and DBD::Oracle 1.17, built on top of an Oracle 9.2.0.1.0 client.
I'm unable to change NLS settings via the environment or via an "ALTER SESSION" command. They are defaulting to American. The following script shows both techniques...
I want to regularly transfer an enormous amount of data computed from a remote database query to a remote ftp server and don't want to find it a temporary home on my machine.
Net::FTP says that the first argument to put() can be a filehandle so I have tried using this with anonymous pipes and...
I and others have, for many years, argued that, when writing literal paths in perl, one should use forward-slashes as directory separaters whenever possible, including on the DOS and 'doze platforms.
DOS has always(?) allowed this (because of it's VMS roots?) and there are several benefits...
I'm running a database server on an AIX 4.3 box. The database system spawns one process per connection. Some of these processes are running long after the client has given up and gone home. Here's one that is heading towards it's first birthday:ps -fp 11584
UID PID PPID C STIME TTY...
We have seen an increasing number of Ruby solutions posted in this forum. I do not believe that they are accidental (we never see, for example, Python solutions) so I have to consider them as either crowing or evangelising.
If they are crowing (Look how easily we can do this while you have to...
Does anyone know how to get Devel::ptkdb to pop up a second window when debugged code forks?
The best I can do is to put
$DB::no_stop_at_start = 1;
brkpt( 'myfile', 22 );
in a .ptkdbrc file to stop at the first line in the child process but then I don't get to see the parent.
"As soon as...
I've got a really simple object
package Doc::Page;
use strict;
# A page is a scalar containing the page data.
# It can be searched, processed and printed.
sub new {
my $proto = shift;
my $class = ref($proto) || $proto;
my $page = $_[0] ? shift : "";
my $self...
I'm trying to construct a tabbed dialogue to handle large and complex submission forms. The javascript is to be generated on the fly by a perl module which is passed the required HTML for each tab as it's parameters.
My first attempt used a div element and wrote the relevant HTML chunks to the...
I have a modular app which loads one of many modules depending on circumstances. Each module implements and exports one or more of a set of functions.
My main app needs to run certain functions if they are available and take some default action otherwise. My first stab was
if ( exists...
The code below fails with an "Object does not support this property or method" error under ie6. I think that the row does support a style property because I can set it statically. This makes me think that it is the getObjectById() method which is failing but I cannot see why. Any...
I've seen but can't find or recall a post in this thread where someone parsed a string into an array using a regular expression to define the delimiter. I need to do something similar and would be grateful for an example or a pointer to a decent reference resource.
In perl-speak, I would...
I am trying to write a module which exports functions from another module as well as a number of functions of it's own. For example, given the code below, I would like a script calling
use CGI::MyWidgets;
to have access to all the functions exported by CGI as implied by the use CGI line as...
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.