Meneses, Alden wrote: > Hello, > > How do I go about looking at remote hosts .ini file? I am looking for > a particular value inside the file to the accord of "TERM=xxxx" > You would need read capabiliity (obviously) on the remote machine and I am assuming you know where that file resides. You should be able to open for read and do your search along the liens of: open(FILEIN, '<' . "$MyRemoteFile") || die "Unable to open for read file $MyRemoteFile: $!" while ( <FILEIN> ) { chomp; if ( /term=.+/i ) { # now do something with the line # if there can only be one per file then you could do last. If multiples } } close(FILEIN);
A start. Wags ;) > I would like to save a list of computer names with the values on a > separate file. Can I do this in PERL? Can you point me in the right > direction? > > Thanks in advance, > Alden Any questions and/or problems, please let me know. Thanks. Wags ;) Int: 9-8-002-2224 Ext: 408-323-4225x2224 ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>