Mail-Internet problem

2005-02-06 Thread Douglas Lentz
Hello friends, I'm trying to get Mark Overmeer's Mail::Internet module to work on my system. Problem: I can't send mail using Mail::Internet's smtpsend method. Details: This is a Red Hat Linux box connecting to the internet over plain old dial-up PPP. I am using my ISP's SMTP server. I know my

Re: how to remove a ^M charaters from a variable

2003-12-19 Thread Douglas Lentz
David Inglis wrote: I am reading in a csv file and it has a control character ^M at the end of each line how can I remove these charaters, I have tried the following and had no success. $a=~s/\^M//; $a=~s/^M//; Any help appreciated thanks. This is an MS-DOSsy file, where each line is terminate

Re: command line interface handling asynchronicity

2003-11-27 Thread Douglas Lentz
Philipp Traeder wrote: Good morning everybody, I am writing a small console application, allowing the user to perform some actions via a shell-like interface. The basics of this were rather easy, and with the help of some very nice CPAN modules (i.e. Base::Shell), I have got tab-completion, a hel

Re: telnet.pm

2003-11-25 Thread Douglas Lentz
Rogerio Agostinho wrote: Does some know how to get the output when I send commands to a telnet server using a perl script??? I m using telnet.pm module I do need it today and I don’t Know what to do... :-( If some one could help me.,plzz Thanx rogerio --- Outgoing mail is certified Virus Free.

Re: empty strings vs nulls

2003-11-24 Thread Douglas Lentz
Eric Walker wrote: How can I test for empty strings and nulls on a particular value. When I get an empty string or a null value I need to do something. Thanks in Advance. BassFool # from a unix shell, # empty string perl -e '$s = "";unless ($s) {print "Empty string\n";}' # null value per

Re: search

2003-11-22 Thread Douglas Lentz
Eric Walker wrote: I am trying to search a string for a "[]". I want to count the amount of "[]" in the string. Any IDeas re my first post on this, here is a better (well, Lazier) way: $string = "a4r[]qy78[]x]y[114[[|]]t"; $count = $string =~ s/(\[])/$1/g; print "$count\n"; #

Re: search

2003-11-22 Thread Douglas Lentz
Eric Walker wrote: I am trying to search a string for a "[]". I want to count the amount of "[]" in the string. Any IDeas $string = "a4r[]qy78[]x]y[114t"; $count = $string =~ s/\[]/\[]/g; print "$count\n" # $count will equal 2 Notice that this is not, (I repeat, not) the same as vari

Re: TK

2003-09-20 Thread Douglas Lentz
Todd W. wrote: "Paul Kraus" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Am I able to write a network app say on one of my Linux servers? Then provide a gui that would run on the w32 workstations? Do I have to install perl / tk on all of the workstations to do this? Sure yo

Re: TK

2003-09-20 Thread Douglas Lentz
Paul Kraus wrote: I saw someone mention that tk was the better route to go for a UI then a web interface. I have several office applications that I have written that I was going to write html interfaces for. I would love to avoid having to learn web development to :) Can anyone give me a break dow

Re: Full Fleged Perl Apps

2003-09-16 Thread Douglas Lentz
Bob Showalter wrote: Dan Anderson wrote: I'm learning Perl. Currently i can create some nifty little apps that scroll across the Linux console. But they look like garbage compared with a real app. (i.e. Vi or Emacs or anything like that). Is there a way to use Perl to output aesthetically go