is that a user dsn or a system dsn?
you'll need to check what username your cgi script runs as, and whether or not that
account has permissions to access the database, and whether or not that account can
access the DSN. Most web servers start cgi scripts as the user 'nobody' or 'www' or
hi...
can anyone recommend a really good reference/sample code/etc... for a perl
app interfacing with a remote mysql db. looking to implement a distributed
app that will have multiple perl apps interfacing with a mysql db running on
a separate box...
so i'm looking for insight into how to
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
I would like to generate this kind of hash structure
%nodedataHash = {
server1
= {
serverName = server1,
nics = [ ip11 , ip12 ,
ip13 ],
attachedNodes = {
nodeName = nodename1,
nicData
= [
{ ip
= ip1, mask = mask1, },
{
ip = ip2, mask = mask2, },
{ ip = ip3, mask
you want the nodename to reference the hash of details in the node, like this:
servername = {
longName = ,
nics = [ ... ],
attachedNodes = {
node1name = [
{ ip = data, mask = data },
],
node2name = [
{ ip = data, mask = data },
],
}
}
so that you'll be able to
Mike,
You showed one record per attached node, but there may be several
records (because each attached node may have one or more NICs). I need
to be able to select NICs on each attached node. I guess what you have
shown works for it.
I just need help in the form of code I requested - because I
add more like this :-
servername = {
longName = ,
nics = [ ... ],
attachedNodes = {
node1name = [
{ ip = data, mask = data },
{ ip = data, mask = data },
{ ip = data, mask = data },
{ ip = data, mask = data },
{ ip = data, mask = data },
it appears that i have a possible mechanize issue..
i'm parsing the gatech class schedule section. my code has the form for the
classes setup, and i can access the 1st dept in the select/option list.
however, when i try to get any of the subsequent list items, mechanize
responds with an error:
Viswanatha Rao wrote:
Please post in plain text only.
Is this close enough to what you need ? :
use strict;
use Data::Dumper; $Data::Dumper::Indent=1;
my %nodedataHash;
my $rec = \%nodedataHash;
for (my $ii = 0; $ii 2; $ii++) {
my $s = sname$ii;
$rec-{server}[$ii]{name} =
hi all
I have this problem.
how do i take replicate string particals, and simplify them. eg. i want to
change the chunk {|TAB|}{|TAB|}{|TAB|}{|TAB|} change to {|TAB_4|}
this must work in a variety of ways, eg.
take this string (line of file)
10 matches
Mail list logo