Perl module for exchange5.5
Hi all, Is there any module available in perl to work with exchange 5.5 ? Actually my requirement is to get the properties of mailbox from exchange 5.5 using perl. Can any one help me out in this regard? Thanks in Advance. Sitaram Pamarthi. Get ready to dream with Citibank Ready Cash. The Next Generation Personal Loan! ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: Perl module for exchange5.5
Why yes... yes, I can... But depending on what you are trying to query, this module may just be the starter code for you... As this really doesn't look at the mail items in the mailbox, but the mailbox itself, it's owner, the people that have perms to it, and so on. Win32::Exchange available on CPAN (http://search.cpan.org/~smanross/Win32-Exchange_v0.045/), http://www.manross.net/perl/ppm and http://www.roth.net/perl/packages It's a work in progress, but I haven't had many complaints lately, so something must be working! :) Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Venkata. Sitaram Sent: Monday, June 07, 2004 8:22 AM To: [EMAIL PROTECTED] Subject: Perl module for exchange5.5 Hi all, Is there any module available in perl to work with exchange 5.5 ? Actually my requirement is to get the properties of mailbox from exchange 5.5 using perl. Can any one help me out in this regard? Thanks in Advance. Sitaram Pamarthi. Get ready to dream with Citibank Ready Cash. The Next Generation Personal Loan! ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: Inventive ways to parse configuration files?
Title: RE: Inventive ways to parse configuration files? If your config files will be read and written only by Perl, you could just use Data::Dumper to write and then read your config hash. Or, you can simply write your config as a hash(es) (and/or arrays and/or scalars) and then require /path/to/configfile.cfg; When you use strict, you'll need to declare the variables in the main script (using our instead of my). ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
WinXP Sp2 / AMD 64 and ActivePerl?
This is a bit of a long-shot, but has anyone tried running ActivePerl on a Windows XP / SP2 beta machine on AMD 64 hardware? Reason I ask is that we currently don't have any hardware that supports MicroSoft's new NX hardware security features ( currently only the AMD 64 bits ) but MicroSoft has commented that 'insecure applications' may have problems running on SP2: http://slashdot.org/articles/04/03/06/147231.shtml If you have any personal experiences with this, we would be very interested to hear them. cheers, JeffG ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Perl Command Line Interpreter problem
I'm using Perl 5.8.3.809 on a machine running Windows XP Professional. I'm processing text files of various sizes. The one that is giving me problems is 22.5 MB. I can process this file by itself without incident, but if I process it as part of a group using a loop, I get the following error: 'Perl Command Line Interpreter has encountered a problem and needs to close.' When I click for more information, I get the following: * Error Signature: AppName: perl.exeAppVer: 5.8.3.809 ModName: perl58.dll ModVer: 5.8.3.809Offset: 0008698b * One of my co-workers suggested a memory leak. I think I've plugged all the possible memory holes, but this file still sinks the script. I am using a few arrays, but I re-initialize and undef them after I'm finished with them. Any suggestions would be appreciated. -- Craig ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Perl Command Line Interpreter problem
Craig Cardimon wrote: I'm using Perl 5.8.3.809 on a machine running Windows XP Professional. I'm processing text files of various sizes. The one that is giving me problems is 22.5 MB. I can process this file by itself without incident, but if I process it as part of a group using a loop, I get the following error: 'Perl Command Line Interpreter has encountered a problem and needs to close.' When I click for more information, I get the following: * Error Signature: AppName: perl.exe AppVer: 5.8.3.809 ModName: perl58.dll ModVer: 5.8.3.809 Offset: 0008698b * One of my co-workers suggested a memory leak. I think I've plugged all the possible memory holes, but this file still sinks the script. I am using a few arrays, but I re-initialize and undef them after I'm finished with them. Any suggestions would be appreciated. Strip the code down to a page or so and run it to make sure it fails - then post the code. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff) ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
TokeParser question (Saving the HTML for later)...
OK... I've got... my $stream = HTML::TokeParser-new(\$agent-{content}); while ( my $tag=$stream-get_tag(form)) { if ($tag-[1]{name} and $tag-[1]{name} eq f1) { $stream-get_tag(table); $stream-get_tag(table); $stream-get_tag(table); } } I want to take the last HTML table and put it into a new stream to be parsed down later. If I use get_text(), I will lose the HTML tags. Is there a way to save this block for later? I want to save chunks of the HTML for later parsing. Thanks. George Gallen Senior Programmer/Analyst Accounting/Data Division [EMAIL PROTECTED] ph:856.848.1000 Ext 220 SLACK Incorporated - An innovative information, education and management company http://www.slackinc.com ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: TokeParser question (Saving the HTML for later)...
my $stream = HTML::TokeParser-new(\$agent-{content}); while ( my $tag=$stream-get_tag(form)) { if ($tag-[1]{name} and $tag-[1]{name} eq f1) { $stream-get_tag(table); $stream-get_tag(table); $stream-get_tag(table); } } I want to take the last HTML table and put it into a new stream to be parsed down later. If I use get_text(), I will lose the HTML tags. Is there a way to save this block for later? I want to save chunks of the HTML for later parsing. This is difficult to do in a stream-based parser. You would have to use get_token, saving every token until you reach the end-table token. If you wanted to handle nested tables, you'd need to increment a counter every time you reach a table and decrement it when you reach a /table, when you get to zero you're done. A tree-based approach using HTML::TreeBuilder or Xpath (via XML::LibXML's HTML parsing capability) would be easier. Here's XML::LibXML code that will do what you want: use XML::LibXML; my $doc = XML::LibXML-new({recover=1})-parse_html_string($agent-{content}); my $tableNode = $doc-findnodes('//[EMAIL PROTECTED]f1]/table/table/table'); print $tableNode-toString; Pretty easy. -- Mark Thomas[EMAIL PROTECTED] Internet Systems Architect DigitalNet, Inc. $_=q;KvtuyboopuifeyQQfeemyibdlfee;; y.e.s. ;y+B-x+A-w+s; ;y;y; ;;print;; ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
quirky question....
hi... i have a simple/quirky question. i have a url -- http://www.acs.rutgers.edu:8880/pls/sc_p/sc_display.select_major. i can get to this page by doing a submit from ==http://clue.rutgers.edu:8880/sc_pn/plsql/sc_display.main. however, when i try to simply use libwww or one of the other perl packages to access the select_major page, i fail to get it. just as a test, i copied the url from one browser window to another, and the 2nd broswer couldn't access the page... can someone shed some light into what might be happening/going on..?? i suspect that there's some kind of redirection/session function in the background... i also tried enabling/disabling cookies with no difference in behavior... thanks... -bruce ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: quirky question....
bruce [mailto:[EMAIL PROTECTED] i have a simple/quirky question. i have a url -- http://www.acs.rutgers.edu:8880/pls/sc_p/sc_display.select_maj or. i can get to this page by doing a submit from ==http://clue.rutgers.edu:8880/sc_pn/plsql/sc_display.main. however, when i try to simply use libwww or one of the other perl packages to access the select_major page, i fail to get it. just as a test, i copied the url from one browser window to another, and the 2nd broswer couldn't access the page... can someone shed some light into what might be happening/going on..?? i suspect that there's some kind of redirection/session function in the background... i also tried enabling/disabling cookies with no difference in behavior... thanks... -bruce Ah, but it does work if you provide values for the fields: http://www.acs.rutgers.edu:8880/pls/sc_p/sc_display.select_major?p_campus=NB p_level=Up_yearterm=20047 So, I would guess that the script is checking for the existence (and maybe even validate values) of the fields before attempting to pass them on to another page. I am not too confident of this guess though without knowing the code and just basing this off of observed behavior. The good news is that the extended URL that I have above illustrates that a GET method will work. Hopefully this will help in your sleuthing. -- Mike Arms ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Perl Command Line Interpreter problem
I have no idea if its related but I too have problems (not the same problem mine reboots) if I try run a loop more than somewhere between 16 million and 17 million times. I thought it was my 'puter (it's 2 years old now, probably getting creaky in the joints), or OS (Windoze 2K) but I guess it could be PERL. Anyone else have trouble with loops up in the 20**6 iteration area? ms At 03:23 PM 6/7/2004, $Bill Luebkert wrote: Craig Cardimon wrote: I'm using Perl 5.8.3.809 on a machine running Windows XP Professional. I'm processing text files of various sizes. The one that is giving me problems is 22.5 MB. I can process this file by itself without incident, but if I process it as part of a group using a loop, I get the following error: 'Perl Command Line Interpreter has encountered a problem and needs to close.' When I click for more information, I get the following: * Error Signature: AppName: perl.exe AppVer: 5.8.3.809 ModName: perl58.dll ModVer: 5.8.3.809 Offset: 0008698b * One of my co-workers suggested a memory leak. I think I've plugged all the possible memory holes, but this file still sinks the script. I am using a few arrays, but I re-initialize and undef them after I'm finished with them. Any suggestions would be appreciated. Strip the code down to a page or so and run it to make sure it fails - then post the code. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff) ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.700 / Virus Database: 457 - Release Date: 6/6/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.700 / Virus Database: 457 - Release Date: 6/6/2004 ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs