Hi everyone,
I need a way to take the value of a parameter with a for lood. For example i execute the script with this parameter
./Script PARAM1 PARAM2 PARAM3 PRAM4
for i in <LIST OF PARAMETERS>
do
PARAMETERS=$<NUMBER OF PARAMETER>
done
How can i express <LIST OF... (1 Reply)
Hi everyone, I'm trying to make a csh script analog for grep.
I need to run through the directory which is arg, find a word (arg) in the files, and echo their names.
Here's what I got
if ($#argv != 2) then
echo "Usage: $0 directory word"
echo "Shows files which contains words"
exit... (3 Replies)
Info::Layer3::Microsoft(3pm) User Contributed Perl Documentation Info::Layer3::Microsoft(3pm)NAME
SNMP::Info::Layer3::Microsoft - SNMP Interface to L3 Microsoft Windows router
AUTHOR
begemot
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $router = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 1
)
or die "Can't connect to DestHost.
";
my $class = $router->class();
print "SNMP::Info determined this device to fall under subclass : $class
";
DESCRIPTION
Subclass for Generic Microsoft Routers running Microsoft Windows OS
Inherited Classes
SNMP::Info::Layer3
Required MIBs
Inherited Classes' MIBs
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP
Overrides
$router->vendor()
Returns 'microsoft'
$router->os()
Returns 'windows'
$router->os_ver()
Returns ''
$router->model()
Returns 'Windows Router'
$router->serial()
Returns ''
Globals imported from SNMP::Info::Layer3
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
Overrides
$router->interfaces()
Map the Interfaces to their physical names. Adds interface number to interface name because identical interface cards return identical
"ifDescr".
Table Methods imported from SNMP::Info::Layer3
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
perl v5.12.4 2011-09-28 Info::Layer3::Microsoft(3pm)