Jeff Westman wrote:
On 6/20/05, John W. Krahn [EMAIL PROTECTED] wrote:
It looks like you don't really need to use paragraph mode, this should do what
you want:
#!/usr/bin/perl
#
# tnsnames.pl -- reads tnsnames.ora, sorts by host name
use warnings;
use strict;
my $tnsFile = 'tnsnames.ora';
Hey Chris,
I'm not spamming anyone. I had an error when I sent my email(s) so I
resent it. Sorry you had to click the mouse an additional time to
'delete'.
Jeff
On 6/20/05, Chris Devers [EMAIL PROTECTED] wrote:
On Mon, 20 Jun 2005, Jeff Westman wrote:
Any help would be greatly
Hello Fellow Perlites,
I'm having difficulty parsing a file and could use some help here.
I've attached my code, output file, and sample job run.
Basically, I want to read an Oracle TNS file (tnsnames.ora) and list
the host name and service on that server based on this input file. A
sample TNS
My problem is simple. I want to parse an Oracle TNS file, listing
host and the service it provides.
A sample TNS entry is multi-lined and looks like this:
mysprdtmp =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mxr)(PORT = 1521))
)
(CONNECT_DATA =
On Mon, 20 Jun 2005, Jeff Westman wrote:
Any help would be greatly appreciated.
We heard you the first two times.
Please stop spamming the list with the same question.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jeff Westman wrote:
Hello Fellow Perlites,
Hello,
I'm having difficulty parsing a file and could use some help here.
I've attached my code, output file, and sample job run.
Basically, I want to read an Oracle TNS file (tnsnames.ora) and list
the host name and service on that server based on