12-09-2008
Quote:
Originally Posted by
tsurko
P.S. I've made a quick search in the forums and haven't find any similar thread. Please excuse me if this is already discussed.
No, you erred. This question pops up from time to time and I have at least seen several of them over the years and more if variations are being counted in. Say this with just a simple search just now (using the "learn Perl" keyword):
https://www.unix.com/shell-programmin...earn-perl.html
I understand it can be sort of tiresome to search for relevant prior posting, so I rarely issue infractions for this. However, please understand that you can find relevant links for this question in particular most easily with most search engines nowadays even if you don't get something useful with the search on this forum.
10 More Discussions You Might Find Interesting
1. Solaris
Hello Folks,
I have to restore from remote tape sun solaris 10. It has to have mirror raid.
I have to restore /,/usr, /var,/opt, /etc,/u01.
Could you please give me detailed steps to do the above?
I am new to solaris
Thanks
Ram (1 Reply)
Discussion started by: vr76413
1 Replies
2. IP Networking
As seen on Digg.com, here is my ip addressing article in full...
Original Subnetting in 11 Steps article
Subnetting in 11 Steps
There are a few things that you will need to know first. I personally use 11 rules that I learned from Mike Vana. Below you will find the 11 rules as well as... (1 Reply)
Discussion started by: jking2100
1 Replies
3. HP-UX
I tried search and didn't see anything - if there is a thread please point me to it -
I want to add a couple of statements to the start up steps basically to touch a file and set the owner & group on it.
I want this to happen every start-up. I haven't had sysadm class since HP-UX 9.x and I... (1 Reply)
Discussion started by: LisaS
1 Replies
4. SCO
hi,
i want help plz
i connect my xerox printer under sco os ,
someone can tell me by steps how i can add it ? what i need to do that ? (2 Replies)
Discussion started by: lid-j-one
2 Replies
5. Solaris
Hi
Can any one suggest me the instalation guideline for perl 5.8.9 on UNIX/solaris 2.8 environment.
Pooja (2 Replies)
Discussion started by: wadhwa.pooja
2 Replies
6. AIX
please provide me with the steps to restore from mksysb tape. i m using AIX 5.3 TL 7 (2 Replies)
Discussion started by: debasis9
2 Replies
7. Red Hat
Hi,
Once we get a subscription (activation key), how to register a RHEL machine with RHN?
Which port to be open on my RHEL machine? How exactly it will connect to Red Hat Network?
Please give me some steps.
Regards,
Uday (2 Replies)
Discussion started by: uday123
2 Replies
8. Linux
I wanted clarity on the steps to install RHEL 6.0. The steps are as follows:-
1) Download the ISO image from the Red Hat site.
2) Burn it into DVD.
3) Download boot.iso from Red Hat (Is this step required or ISO image can install RHEL 6.0 by itself?)
4) Start installation from DVD.
Request... (4 Replies)
Discussion started by: RHCE
4 Replies
9. Shell Programming and Scripting
Why doesn't the CheckJavas function go through all of it's steps? #-------------------#
# Java Checking #
#-------------------#
CheckJavas() { # Here, this script will attempt to check for Java by checking to see if installation folders are present.
echo -n "Checking for Java"
echo ""... (2 Replies)
Discussion started by: Enkouyami
2 Replies
10. Solaris
Hello Friends,
I need a document with steps to upgrade Symantec Netbackup from 7.1 to 7.5.
Would you please help me on this.
I have Symantec provided pdf but looks like reference book.
I need only steps which is needed to be followed.
Please guide me.
Information about my Server
My... (11 Replies)
Discussion started by: manalisharmabe
11 Replies
LEARN ABOUT DEBIAN
weather::com::finder
Weather::Com::Finder(3pm) User Contributed Perl Documentation Weather::Com::Finder(3pm)
NAME
Weather::Com::Finder - finder class to search for weather.com location's
SYNOPSIS
#!/usr/bin/perl -w
use Weather::Com::Finder;
# you have to fill in your ids from weather.com here
my $PartnerId = 'somepartnerid';
my $LicenseKey = 'mylicense';
my %weatherargs = (
'partner_id' => $PartnerId,
'license' => $LicenseKey,
);
my $finder = Weather::Com::Finder->new(%weatherargs);
# if you want an array of locations:
my @locations = $finder->find('Heidelberg');
# or if you prefer an arrayref:
my $locations = $finder->find('Heidelberg');
foreach my $location (@locations) {
print "Found weather for city: ", $location->name(), "
";
print "Current Conditions are ",
$location->current_conditions()->description(), "
";
}
DESCRIPTION
The usual way to use the Weather::Com module would be to instantiate a Weather::Com::Finder that allows you to search for a location by
providing a search string or postal code or any other search string that weather.com understands.
The finder returns an arrayref or an array of locations (depending on how you call the "find()" method). Each location is an object of
Weather::Com::Location.
CONSTRUCTOR
new(hash or hashref)
The constructor takes a configuration hash or hashref as described in the Weather::Com POD. Please refer to that documentation for further
details.
METHODS
find(search string)
Once you've instantiated a finder object, you can perform "find()" calls to search for locations in the weather.com database.
The "find()" method returns an array of Weather::Com::Location objects if you call it in list context, else an arrayref.
Returns undef if no matching location could be found.
SEE ALSO
See also documentation of Weather::Com and Weather::Com::Location.
AUTHOR
Thomas Schnuecker, <thomas@schnuecker.de>
COPYRIGHT AND LICENSE
Copyright (C) 2004-2007 by Thomas Schnuecker
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The data provided by weather.com and made accessible by this OO interface can be used for free under special terms. Please have a look at
the application programming guide of weather.com (http://www.weather.com/services/xmloap.html)
perl v5.8.8 2007-07-09 Weather::Com::Finder(3pm)