I have 3 arrays
@a = ('a1','a2','a3');
@b = ('b1','b2','b3');
@c = ('c1','c2','c3');
I need to sort the data like:
a1 b1 c1
a2 b2 c2
a3 b3 c3
Thanks in advance..
N
Basically I want to sort data returned by an sql query.
my $sth = $dbh->prepare("SELECT Title, Age, name FROM Jobs ORDER BY Title");
while (my ($title, $age, $name) = $sth->fetchrow_array) {
print "$title<br>";
}
When using "ORDER BY Title" the data returned...
Anyone know how to convert EPOCH seconds to a format
like 0000-00-00 00:00:00
I have reviewed several modules (Date::Calc, HTTP::Date) and can't seem to find anything that even comes close.
The only solution I have found to convert this mess is:
my $newtime = scalar localtime($epoch_time)...
Can anyone help me...
Basically I have a folder that contains folders with data.
What I am trying to do is descend into each folder (2 levels) and move the contents up (two levels) then conmtinue to the next folder in the list and repeat the same action.
Confused???
Example:
(BEFORE)
MAIN/...
Lets say I have a database.. I also have an HTML form to add/edit the database.. If a user already has data in the database then the form should already be filled out with the data on load. This means the text field values, radio button values, and of course pulldown menu's.
EXAMPLE::
If the...
basically I have a pre-select value, lets say "AK"
I want the pulldown to reflect the value chosen.
So if I use the value of "AL" the pulldown will say "Alaska"
I have a pulldown menu that looks like this below:
<script language="javascript">
<!--//...
Basically here is the problem..
I have a Pulldown (selectedIndex) that looks like this.
<select name=test>
<option value="AL">Alabama
<option value="AK">Alaska
<option value="AS">Am. Samoa
What I a trying to do is pass values from a javascript to the form...
Basically I am trying to define a value within my script and have it select the appropriate radio button..
EXAMPLE:
to do this with a text field document.theFormName.textField.value = "My data";
to do this with a selected index field document.theFormName.textField.selectedIndex...
Anyone know if this is possible?
The situation::
Basically I am trying to push a variable and a hash into
a subroutine. Look at the code below.
---------------------------------------------------------------------------------------
#!/usr/bin/perl
&whatever("template.tt2"...
Hello all, I have a question for ya..
THE SCENARIO::
I have 4 Virtual Hosts (/www/domain1.com, /www/domain2.com, etc, etc)
I would like to use the Apache::Registry, but I have more than one
directory to configure it to. I know I could just use--
<Files *.cgi>
SetHandler perl-script...
Get this error in my ssl_engine_log file..
Here is the scenario, upgraded apache/openssl/modssl and I get this error. Ssl works when I am online, and the certificate seems to go through, but I still get this error.
The setup..
I am using a V/D for my ssl domain
that is different from my server...
Got a problem here.
I am Using the cgi.pm to set and retrieve cookies in Netscape 6.2, works great is all other versions of netscape and every other browser but Netscape 6.2. The problem is I have two subdomains sharing the same cookie. Unfortunatly N6.2 will only recognize the URL the cookie...
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.