Hm. According to DBD::mysql, there's the mysql_socket specifier to pass the unix socket name. Does this not work?
So basically, you'd need a small helper sub to handle the tedium of attaching a process to a socket
my $unixname = named_sock_spawn(sub{ exec "ssh" }); sub named_sock_spawn { socket();bind();listen(); fork() and return $name; accept();dup();dup();$fun->(); }
The perlipc has an example on unix-domain TCP. But are there any modules to provide named pipe utilities?
In reply to Re^2: Using Net::SSH2 with DBI
by Anonymous Monk
in thread Using Net::SSH2 with DBI
by diyaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |