Re: Archive::Zip and CSV files for parsing

2005-03-09 Thread John_Wunderlich
Thanks for the replies. I replaced my @contents = $archive_in->contents($_); with my $content_line = $archive_in->contents($_); my @contents = split(/\n/, $content_line); and it works like a charm. John Wunderlich Program Manager, Compliance Directeur de Programme, Conformité Tel/Fax: 514-908-

Archive::Zip and CSV files for parsing

2005-03-09 Thread John_Wunderlich
Hi; I'm using Archive::Zip to unzip a bunch of CSV files that I want to extract information from. The problem is that when I extact a file, and I try and read it into an array for line by line handling, the system doesn't see the line breaks. Has anyone run into this? Here's the relevant snippet:

Tied objects for AD

2005-02-16 Thread John_Wunderlich
Hi; I'm investigating some AD reporting tools, and it's looking like I may want to roll my own instead. Does the Tie::LDAP work with the objects in Active Directory? Or is there a better way to access their properties? What I'm looking to do is track group memberships and nested group memberships

Re: Deleting a worksheet in Excel

2005-01-24 Thread John_Wunderlich
Hi; Don't most OO structures require constructor and destructor methods? Seems to me this is OK for OO. Requiring the Workbook to delete the Worksheet leads to a different problem...that of a WorkBook with no Worksheets. Since the raison d'etre for a WorkBook is as a container for WorkSheets, the

Re: UNIX utilities in Perl

2004-11-10 Thread John_Wunderlich
Forgot to add that Windows Services for Unix is now a free download as well from Microsoft. I haven't used it so can't speak to its utility. Later, John Wunderlich Project Manager Ceridian [EMAIL PROTECTED] Tel: 514-908-3094 Fax: 514-908-3094 Mob: 514-827-7305 216 3 (superscript: ieme )Boulevar

Re: UNIX utilities in Perl

2004-11-10 Thread John_Wunderlich
If this is personal use on your machine, why don't you install cygwin? That will give a bash shell on your Windows box you can use for most of the shell work that you were accustomed to. (http://www.cygwin.com/) Just a thought. John Wunderlich Project Manager Ceridian [EMAIL PROTECTED] Tel: 514-

RE: Simple text editor under Windows

2004-03-03 Thread John_Wunderlich
I use the Perl Dev Kit, which includes PerlApp for executables, and the Graphical debugger. Both can be set up and called as tools from Eclipse. If you have Komodo, do you not already have the separate debugger? John Wunderlich Project Manager, Privacy Ceridian Canada Ltd. 8777, Autoroute Tr

RE: Simple text editor under Windows

2004-03-03 Thread John_Wunderlich
The perl plug-ins are at: http://e-p-i-c.sourceforge.net/ Like any IDE, it would be overkill for a single script or file. If you're building modules or a larger app with resource file it makes sense. It also appears to integrate well with CVS (I don't use that, but it should be noted.) JW

Re: OT: Script Review Process

2002-10-18 Thread John_Wunderlich
Ed; I don't know that I'd want a code review on every script I write! I'm all for consistency and quality controls, but reviewing everything kind of takes away from one of the reasons that I use perl for in the first place. That being said, anything that I write that is for production use is put

Re: Preferred PERL Editor

2002-05-13 Thread John_Wunderlich
My vote goes to TextPad. Not free, but reasonable, and you can work with the download. JW Conor Lillis <[EMAIL PROTECTED]>

Glob question

2002-05-02 Thread John_Wunderlich
I have a routine trying to rename files with patterns like this: From ABC to ABC.EXT When I do a @list = glob($filename) I get a nul return. I'm using File::Glob "glob" so that I can compile with Perl2Exe, if than makes any difference. Thanks, John

Multi-level hashes and arrays

2002-03-17 Thread John_Wunderlich
Hi; I need to know if I'm going about this the right way, or if I'm tr

Compress::Zlib replacement for pknunzip

2002-03-11 Thread John_Wunderlich
Hi all; My apologies for the newbie type question, but the perldoc on this one isn't clear to me. I want to extract a file from a .ZIP archive and I think that this is the right package, but am hoping to find a code snippet that I can emulate. I'm trying to replace system calls like: system("pkun