I need to get a few details from the command line. I need to get the kilobytes per second that my server is transfering to another or has available and I need to test the connection to make sure that its a sound connection. I also need to keep track of the response time.
I have been playing... (1 Reply)
Hi,
I had written the following script to find the list of files with *.ksh in a directory. and store it in a temp file.
I want to loop through the file temp and list the contents. I had used cat temp. But its giving Cat and temp as the output.
Do help me out.
Thanks
find .... (7 Replies)
Hi,
I would need to modify my machine name :
When i give "w" command, i am getting following message
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
krishnag pts/59 gunasekar 1:25pm 25:15 0.03s 0.03s -csh.
My questions is, i need to change FROM (i.e... (1 Reply)
Hi,
In a file I have data like...
-rw-r----- 1 ftpuser users 1036695 Jul 6 14:59 ./APRIL 2007/Ujjain/My Disc (D)/9565DW07.04B
-rw-r----- 1 ftpuser users 124080 Jul 6 14:59 ./APRIL 2007/Vadodara/vad_APRIL07/2082DW07.04B
The above data is extracted using "find . -name... (12 Replies)
I have files inside the some directories. The no. of files in each directory will vary from 1 to 500K. I need to change the permissions of all the files to 400 mode. When the files are large in numbers...the command
$chmod 400 *
fails saying "ksh: /bin/chmod: arg list too long"
so I have... (5 Replies)
Hi Gurus,
I have a small requirement.
Let suppose i have a file test.txt
test.txt contains
Dispatched date = '2008-04-08'
Name = 'Logers'
Now i want to add one more line to it as Number of Responses = "$a"
$a will be chnaging dynamically which i had grepped it in the script.
Now i... (6 Replies)
Hi guys,
I want to find the number of records in a particular file and store that value in any other variable. I am trying this below command but it is not working and giving me an error "Uninary Operator Expected".
say I have taken a variable name 'count' in which I have to store the no. of... (7 Replies)
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
Hi Firends,
I wanted to extract the first record of the file which starst with character say "X". And I tried an awk command which works when i try to execute it individually:
awk 'substr($1,1,1)=="X"' inputfile.txt
But when I use the same command in my script for which I am passing the... (2 Replies)
Discussion started by: Ajay Venkatesan
2 Replies
LEARN ABOUT DEBIAN
geo::googleearth::pluggable::folder
Geo::GoogleEarth::Pluggable::Folder(3pm) User Contributed Perl Documentation Geo::GoogleEarth::Pluggable::Folder(3pm)NAME
Geo::GoogleEarth::Pluggable::Folder - Geo::GoogleEarth::Pluggable::Folder object
SYNOPSIS
use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new;
my $folder=$document->Folder(name=>"My Folder");
DESCRIPTION
Geo::GoogleEarth::Pluggable::Folder is a Geo::GoogleEarth::Pluggable::Base with a few other methods.
USAGE
my $folder=$document->Folder(); #add folder to $document
my $subfolder=$folder->Folder(); #add folder to $folder
METHODS
initialize
We overide the default "initialize" method in order to append the "plugins" method from Module::Pluggable on to the packages list of the
Method::Autoload package.
The "packages" property is what is needed by Method::Autoload package. The "plugins" method is what is provided by Module::Pluggable. So,
the Folder package now has available to it every method in the "Plugins" folder at runtime.
Folder
Constructs a new Folder object and appends it to the parent folder object. Returns the object reference if you need to make any setting
changes after construction.
my $folder=$folder->Folder(name=>"My Folder");
$folder->Folder(name=>"My Folder");
NetworkLink
Constructs a new NetworkLink object and appends it to the parent folder object. Returns the object reference if you need to make any
setting changes after construction.
$folder->NetworkLink(name=>"My NetworkLink", url=>"./anotherdoc.kml");
LookAt
Constructs a new LookAt object and returns the object reference to assign to other object "lookat" properties.
$document->LookAt(
latitude => $lat, #decimal degrees
longitude => $lon, #decimal degrees
range => $range, #meters
tilt => $tilt, #decimal degrees from veritical
heading => $header, #decimal degrees from North
);
type
Returns the object type.
my $type=$folder->type;
node
data
Pushes arguments onto data array and returns an array or reference that holds folder object content. This is a list of objects that
supports a type and structure method.
my $data=$folder->data;
my @data=$folder->data;
$folder->data($placemark);
open
BUGS
Please log on RT and send to the geo-perl email list.
LIMITATIONS
Due to limitations in Perl hashes, it is not possible to specify the order of certain elements and attributes in the XML.
TODO SUPPORT
Try geo-perl email list.
AUTHOR
Michael R. Davis (mrdvt92)
CPAN ID: MRDVT
COPYRIGHT
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
Geo::GoogleEarth::Pluggable, Module::Pluggable Method::Autoload, XML::LibXML::LazyBuilder
perl v5.14.2 2011-06-26 Geo::GoogleEarth::Pluggable::Folder(3pm)