Re: Mail::Box

2008-06-19 Thread Michael Higgins
On Thu, 19 Jun 2008 23:29:53 +0100 "Phil Brewer" <[EMAIL PROTECTED]> wrote: > Any direction you can point me in would be greatly > appreciated. http://emailproject.perl.org/ HTH. -- Michael Higgins IS Specialist The Banfield Group, LLC [EMAIL PROTECTED]

Re: Telnet and ftp from Windows to Linux without SSH module (or without ssh interface)

2008-06-11 Thread Michael Higgins
close(READER); close(WRITER); return $result; } with this openssh cygwin port available here: http://sourceforge.net/project/showfiles.php?group_id=103886 TIMTOWTDI, I'm sure. HTH. Cheers, -- Michael Higgins ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Errno.pm incompatible

2007-07-03 Thread Michael Higgins
> -Original Message- > From: Thurn, Martin [mailto:[EMAIL PROTECTED] > Have you tried ActivePerl build 820? If that doesn't help, can you > just move site/lib/Errno.pm out of the way? Yes, moving site/lib/Errno.pm out of the way fixed the problem... until I installed build 820... w

Errno.pm incompatible

2007-07-02 Thread Michael Higgins
Hello -- I've come across an issue I'm unable to resolve. This module spuriously throws a warning error. I reported the issue to a CPAN maintainer, thinking the issue was with his modules. Here is his reply: - http://rt.cpan.org/Ticket/Display.html?id=27785 > I would say, that the pr

RE: Parsing Config file

2007-06-12 Thread Michael Higgins
> Bill Luebkert wrote: > > Michael Higgins wrote: > > Hello, Gurus -- > > > > I'm stuck finding the best approach to parsing a config file. > > > > Some configuration items are grouped, nested, in matching > braces '{}'. Some > >

Parsing Config file

2007-06-12 Thread Michael Higgins
Hello, Gurus -- I'm stuck finding the best approach to parsing a config file. Some configuration items are grouped, nested, in matching braces '{}'. Some are item = value. I need to modify and replace three sections that are in this format item{.item{}}, capturing up to the matched brace

Re: Working with very large text files

2004-11-18 Thread michael higgins
DePriest, Jason R. wrote: I have a perl script that I use to parse a month's worth of Cisco PIX Firewall logs sent to a syslog server. The raw text file is always over 300 MB and typically closer to 750 MB or higher. Opening a regular file handle (eg open(LOGFILE," It looked very much like perl was

Re: question about installation of GD::Graph module

2004-11-02 Thread michael higgins
Grace Huang wrote: Hi Scott, Thanks for your suggestion and it works well. But I have another question, when I tried to run an example I got from a website, it printed to the screen with a lot of unrecognized code. The code is as below: #!/usr/local/bin/perl use GD::Graph::bars; # set data and

Re: Printing from Perl

2004-10-07 Thread michael higgins
[EMAIL PROTECTED] wrote: Hi, I shall write a program on Win32 (with gui :() that will print labels with Barcodes and other information on it. I already found a barcode-module (which outputs files it seems, but as a way around I could read that file in then), but actually I never printed from perl y

Re: question about Tk::Graph or sort the hash by keys values

2004-09-14 Thread michael higgins
Grace Huang wrote: Hi, I try to use Tk::Graph to draw a graph. The x-axies has values of 10,20, 30, 100, y-axies has values of 2, 40, 20, 76. But the x-axies shows the values in order of 10, 100, 20, 30. I want to show x-axies in order of 10, 20, 30, 100 numerically. The following is my code: #!

Re: searching a file for keywords

2004-04-15 Thread michael higgins
Craig Cardimon wrote: I'm searching a text file for keywords. These keywords are stored in an array. First, I read the file into a scalar variable. Then, I search for each keyword, cycling through the array in an outer foreach loop: foreach $keyword (@keywords) The keywords should be in all caps a

Re: gmttime no work

2004-04-12 Thread michael higgins
Martin Leese wrote: Hi, A nice simple one for a Monday morning. I wanted to make sure I was using Mountain Time (my local time) and not GMT. So, I executed "print scalar gmttime;" but perl does not recognize gmttime. Why not? Perl does recognize localtime. Here is a test script: #! /usr/local

Re: Execute command line program that require user input

2004-04-06 Thread michael higgins
Eriksson,Magnus wrote: Hi all! I'm having a slight problem using the system() function in ActivePerl (I'm using ActivePerl 5.8) Example: system("app.exe","parameter1","parameter2"); This works fine executing app.exe with parameter1 & parameter2. The problem I have is that app.exe requires additi

Re: Unmapping a drive

2004-03-30 Thread michael higgins
setty, shobha wrote: Hi, I am pretty new user of perl. I have the following subroutine to unmap a drive sub UnmapADrive { my($drive) = @_; print " drive to unmap is $drive\n"; Unmap($drive); } The print returns the right drive letter, but Unmap($drive) fails. Any ide

Re: (no subject)

2003-09-11 Thread michael higgins
[EMAIL PROTECTED] wrote: Hello everyone. How would you recall values from a comma seaparated spreadsheet. I'm gathering data and it's being saved to a .txt file, but I want to display the information dynamicaly and perhaps manupuliate it a bit. Thanks-Michael use Text::CSV; (which works fine

Re: Net::ping command giving error

2003-07-17 Thread michael higgins
[EMAIL PROTECTED] wrote: Hi! I am using ActiveState Perl v5.6.1. When I am trying ping command to check whether a remote machine alive or not, it is giving following error: The Unsupported function alarm function is unimplemented at C:/Perl/lib/Net/Ping.pm line 308. Here is my code use Net::Ping

Re: Matching random parts (not substring) of a sentence

2003-06-20 Thread Michael Higgins
Nikesh Garera wrote: Hi, I have two sentences: 1. Perl is a great programming language for language processing. 2. Perl language processing I want a function that will return "true" if given strings 1 and 2 as input. Basically if ALL of the words of 2nd sentence are present in 1st sentence in AN

Re: how to match the last line in a file

2003-06-19 Thread Michael Higgins
- Original Message - From: "Grace Huang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 19, 2003 3:16 PM Subject: how to match the last line in a file Hi I use "while (my $line = ) {...} to read a file, how can I determine if a line is the last line in the file since I

Re: Date from string

2003-06-11 Thread Michael Higgins
From: Bryan Tom Team EITC [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 9:26 PM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: Date from string I am creating a daily report that pulls all sorts of WMI information from every server in my enterprise. I am simply looking for ideas about

Re: Dialog without Topwindow?

2003-02-18 Thread michael higgins
Oeschey, Lars (I/EK-142, extern) wrote: Hi, is it possible to have a Tk::Dialog without a $top defined? I have some non-graphical Installation, and on error I just want to pop some message up that installation failed (or succeeded). If I create a (empty) $top first, it looks ugly ;) Lars Dunn

Re: Tk: Edit and save text

2003-02-18 Thread michael higgins
Oeschey, Lars (I/EK-142, extern) wrote: Well, that's true -- you want "$configtext->get(0.1,'end');", for example. hm, ok, that worked... but I'm confused now: why 0.1? Lars Lars -- Understandable. Me too! From the 'tk::text' doco: The base for an index must have one of the following forms

Re: template::rtf

2003-02-06 Thread michael higgins
Gustavo H. Maultasch wrote: yes it is installed.i downloaded the module from http://jenda.krynicky.cz/ this is the code that generates the error: my $time = "test"; system "execute.pl ttt.rtf_"; and, in ttt.rtf_ i´ve placed a $var[time]. regards, gustavo --- [EMAIL PROTECTED] wrote: And

Re: regex and html

2003-02-06 Thread michael higgins
Basil Daoust wrote: 2. You are playing with fire doing direct substitutions on HTML. Instead it is often better to use HTML::Parser and let it tokenize tags for you. (There have been lots of threads on this.) But if your HTML is simple enough, then you can still use the above. HELP! I've trie

Re: template::rtf

2003-02-06 Thread michael higgins
[EMAIL PROTECTED] wrote: > Gustavo H. Maultasch writes: > > > > I´m trying to use template::rtf to generate rtf files, > > but i´m getting an error for some time. > > > > After calling the 'execute.pl' script from 'system' > > command, i get the following error: > > Undefined subroutine

Re: Correction:Win32::Sound::WaveOut(WAVFILE) -SOLVED

2003-02-03 Thread michael higgins
Jenda Krynicky wrote: From: "Geert Storme" <[EMAIL PROTECTED]> Thank you, $Bill Luebkert [[EMAIL PROTECTED]]!!! That worked! You are the hero of the day! Pls have your chance incorporated forever into that defective module. As for CPAN and ASPN, sorry but here come some harsh words... [snip

Re: Insert a plain line break?

2003-01-17 Thread michael higgins
Haimov, Eugene wrote: No, strictly speaking, using .rtf as filename extention will not do you any good. [snip] what exactly things do you want to do, there usually is a way to use some pre-formatted RTF as template and only substitute things that you want to deal with. Hope that helps,

Re: how to detach the attachment form the mail using IMAP client

2003-01-15 Thread michael higgins
Mohanty, Debi (MED, TCS) wrote: Hi, Please suggest me how to detach the attachments (Read the attachments) from a mail message using the IMAP client in perl. Please help me on this Thanks&Regards Debi {snip} I installed the 'mime-tools' bundle from cpan... (win 98, active 633)... MIME-

Re: regex help?

2002-06-25 Thread michael higgins
hile the code is obviously not perfect, > I do not see why would it not work. > It will probably help to see some of > the original strings that go into these > substitutions. > ( Do they have "end-of-lines" embedded in them ? ) > Eugene Haimov > > -Original