Sponsored Content
Full Discussion: Perl in Win32
Special Forums Windows & DOS: Issues & Discussions Perl in Win32 Post 302182559 by Yogesh Sawant on Monday 7th of April 2008 02:17:36 AM
Old 04-07-2008
download and install ActivePerl from ActiveState
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

X windows on win32

Hi, I'm looking for a X-windows client for win32. Preferably one that doesn't need to be installed so it can be run without administrator priviliges. I need it so users can logon to a unix or linux server from a windows client using X-windows. The idea is that the user must be able to use... (4 Replies)
Discussion started by: rein
4 Replies

2. Programming

Win32 VC++ DebugBreak in Linxu

Hi, Is there is any debugging solution in Linux similar to Win32's VC++ DebugBreak() call. (2 Replies)
Discussion started by: ku@ntum
2 Replies

3. Shell Programming and Scripting

perl script using Win32::IEAutomation

Hi Folks, I am using Perl module Win32::IEAutomation for automating a web page which is implented using iceface. I am trying to click on a image which has the following html code: <input alt="Incidents" class="iceCmdBtn" id="_id68:_id79" name="_id68:_id79" onblur="setFocus('');"... (5 Replies)
Discussion started by: gurukottur
5 Replies

4. Shell Programming and Scripting

perl win32::ieautomation

Hi friends, I am using win32::ieautomation to automate portal Please help me with below line of code: my $target_cell = $table_object->tableCells(2, 5); what is $table_object in above line I am using $browser->getTable('id:', "table_id")->tableCells(2,5); The error I get is can't... (0 Replies)
Discussion started by: gurukottur
0 Replies

5. Shell Programming and Scripting

Can anyone recommend a book for perl WIN32

Is there a book available that goes into the PERL WIN32 module in depth ? I like the Unix in a nutshell or Perl Black Book by Holzner way of teaching. Teach by example. Anyone ? Thanks Popeye, Olive and sweetpea :p (1 Reply)
Discussion started by: popeye
1 Replies

6. Shell Programming and Scripting

win32::IEAutomation

Hi folks, what is the command used to click on the 'x' button of popup browser window in perl windows.I am using WIN32::IEAutomation module. Please any one can help on this.... (3 Replies)
Discussion started by: jyo123.jyothi
3 Replies

7. Shell Programming and Scripting

MS Outlook + Win32::OLE

Hey guys, I'm trying to go through my emails in Outlook until I find an email with a certain subject line. I am able to send emails with no problem, but reading emails and their properties (From, Subject, etc.) is my main problem. Basically, I don't know where to start and using search engines... (2 Replies)
Discussion started by: kooshi
2 Replies

8. Shell Programming and Scripting

PERL Win32::OLE Inserting Picture in Excel

I am trying to insert a picture into a worksheet in Excel using Perl the following is the code use Win32::OLE; use Win32::OLE::Const "Microsoft Excel"; use Win32::OLE qw(in with); # Initiate Excel application $Excel = Win32::OLE->new('Excel.Application', 'Quit'); $Excel->{Visible} =1; #... (1 Reply)
Discussion started by: cold_Que
1 Replies

9. Shell Programming and Scripting

win32 ole in deepr details in perl

Hello Gurus, I am begginer in perl. I would like to ask several questions, some related to perl and its syntax but most will be regarding to WIN32 OLE. My main goal is to develop script that will check word document structure (return some information) and make some changes in this document (if it... (0 Replies)
Discussion started by: wakatana
0 Replies

10. UNIX for Advanced & Expert Users

X-Win32 not working

I am trying to export windows display to my unix SunOS I have Windows server 2000 which has X-Win32 v6 installed. I start X-Win32. I then go to configure session with the following details. 1. host name: myhost 2. command: xterm -ls 3 username: user1 4 password: password Then i right... (1 Reply)
Discussion started by: mohtashims
1 Replies
WebService::CIA(3pm)					User Contributed Perl Documentation				      WebService::CIA(3pm)

NAME
WebService::CIA - Get information from the CIA World Factbook. SYNOPSIS
use WebService::CIA; use WebService::CIA::Source::DBM; use WebService::CIA::Source::Web; # Get data from a pre-compiled DBM file my $source = WebService::CIA::Source::DBM->new({ DBM => "factbook.dbm" }); my $cia = WebService::CIA->new({ Source => $source }); $fact = $cia->get("uk", "Population"); print $fact; # Get data direct from the CIA World Factbook my $source = WebService::CIA::Source::Web->new(); my $cia = WebService::CIA->new({ Source => $source }); $fact = $cia->get("uk", "Population"); print $fact; DESCRIPTION
A module which gets information from the CIA World Factbook. Crypt::SSLeay The most recent version of the CIA World Factbook uses HTTPS to access its web pages. As such, WebService::CIA requires Crypt::SSLeay which suffers from the usual cryptographic export restriction mumbo jumbo. Sorry about that. Users of ActiveState's ActivePerl should see <http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Repository> for instructions on downloading a PPM of Crypt::SSLeay. METHODS
"new(\%opts)" Creates a new WebService::CIA object. Takes a hashref, which must contain a "Source" key whose value is a WebService::CIA::Storage object. "get($country_code, $field)" This method retrieves information from the store. It takes two arguments: a country code (as defined in FIPS 10-4 on <https://www.cia.gov/library/publications/the-world-factbook/appen- dix/appendix-d.html>, e.g. "uk", "us") and a field name (as defined in <https://www.cia.gov/library/publications/the-world-fact- book/docs/notesanddefs.html>, e.g. "Population", "Agriculture - products"). (WebService::CIA::Parser also creates four extra fields: "URL", "URL - Print", "URL - Flag", and "URL - Map" which are the URLs of the country's Factbook page, the printable version of that page, a GIF map of the country, and a GIF flag of the country respectively.) The field name is very case and punctuation sensitive. It returns the value of the field, or "undef" if the field or country isn't in the store. Note that when using WebService::CIA::Store::Web, "get" will also return "undef" if there is an error getting the page. "get_hashref(@countries, @fields)" This method takes two arguments: an arrayref of country codes and an arrayref of field names. It returns a hashref of the form { 'country1' => { 'field1' => 'value', 'field2' => 'value' }, 'country2' => { 'field1' => 'value', 'field2' => 'value' } } "get_all_hashref(@countries)" Get all the fields available for countries. It takes one argument, an arrayref of country codes. It returns a hashref similar to the one from "get_hashref" above, containing all the fields available for each country. "source()" Get a reference to the WebService::CIA::Source object in use. CONFIGURATION VARIABLES
$WebService::CIA::base_url Sets the base URL for the Factbook (currently "https://www.cia.gov/library/publications/the-world-factbook/"). If the Factbook changes location, this can be changed to point to the new location (assuming the relative structure of the Factbook is unchanged). AUTHOR
Ian Malpass (ian-cpan@indecorous.com) COPYRIGHT
Copyright 2003-2007, Ian Malpass This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The CIA World Factbook's copyright information page (<https://www.cia.gov/library/publications/the-world-factbook/docs/contributor_copy- right.html>) states: The Factbook is in the public domain. Accordingly, it may be copied freely without permission of the Central Intelligence Agency (CIA). SEE ALSO
WebService::CIA::Parser, WebService::CIA::Source::DBM, WebService::CIA::Source::Web perl v5.8.8 2008-02-04 WebService::CIA(3pm)
All times are GMT -4. The time now is 01:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy