1App::ClusterSSH::ConfigU(s3e)r Contributed Perl DocumentaAtpipo:n:ClusterSSH::Config(3)
2
3
4
6 ClusterSSH::Config - Object representing application configuration
7
10 Object representing application configuration
11
13 $host=ClusterSSH::Config->new ({ })
14 Create a new configuration object.
15
16 $config->parse_config_file('<filename>');
17 Read in configuration from given filename
18
19 $config->validate_args();
20 Validate and apply all configuration loaded at this point
21
22 $path = $config->search_dirs('<name>', @seaarch_directories);
23 Search the given directories for the name given. Return undef if
24 not found.
25
26 $path = $config->find_binary('<name>');
27 Locate the binary <name> and return the full path. Doesn't just
28 search $PATH in case the environment isn't set up correctly
29
30 $config->load_configs(@extra);
31 Load up configuration from known locations (warn if .csshrc file
32 found) and load in option files as necessary.
33
34 $config->write_user_config_file();
35 Write out default $HOME/.clusterssh/config file (before option
36 config files are loaded).
37
38 $config->dump()
39 Write currently defined configuration to STDOUT
40
42 Duncan Ferguson, "<duncan_j_ferguson at yahoo.co.uk>"
43
45 Copyright 1999-2016 Duncan Ferguson.
46
47 This program is free software; you can redistribute it and/or modify it
48 under the terms of either: the GNU General Public License as published
49 by the Free Software Foundation; or the Artistic License.
50
51 See http://dev.perl.org/licenses/ for more information.
52
53
54
55perl v5.28.1 2019-01-31 App::ClusterSSH::Config(3)