SMTP

2004-09-13 Thread Anish Kumar K.
HI I am using Active PERL for WINDOWS. How will I know SMTP is Installed on the system...Can you suggest a small program for SMTP Anish

Re: dbm-file versions

2004-09-13 Thread Johann Spies
On Thu, Sep 09, 2004 at 02:57:32PM -0400, Chris Devers wrote: > On Thu, 9 Sep 2004, Johann Spies wrote: > > >We have a situation that we need to open a dbm-file but cannot do so > >using perl version 5.8.4-2 on Debian Sarge. The following script > >fails, but the same script and dbm-file works

Re: SMTP

2004-09-13 Thread zareef ahmed
Hi Anish ! Please visit http://www.softstack.com/freesmtp.html zareef ahmed --- "Anish Kumar K." <[EMAIL PROTECTED]> wrote: > HI > > I am using Active PERL for WINDOWS. How will I know > SMTP is Installed on the system...Can you suggest a > small program for SMTP > > Anish > > = Zare

Re: SMTP

2004-09-13 Thread zareef ahmed
Hi, Read http://perl.about.com/library/weekly/aa022000a.htm Dear, a small amount of search on goggle can always help. zareef ahmed --- "Anish Kumar K." <[EMAIL PROTECTED]> wrote: > Hi > > I want to have a program in PERL for SMTP > > Anish > > - Original Message - > From: "zare

About Net::SFTP

2004-09-13 Thread Roime bin Puniran
HI alli am very2 new and dummies in Perl.i got a problem about my codeI have develop some programm using Net::SFTP..to ftp to a remote server.Here is my code... #!/usr/bin/perl use Net::SFTP; #use strict; #use warnings; $host = $ARGV[0];

Re: SMTP

2004-09-13 Thread Ramprasad A Padmanabhan
On Mon, 2004-09-13 at 14:36, Anish Kumar K. wrote: > HI > > I am using Active PERL for WINDOWS. How will I know > SMTP is Installed on the system...Can you suggest a small program for SMTP > > Anish > You can find if smtp is "running" very easily. Just make a connection to smtp port ( port 25 )

Re: Conceptual questions about 'pack'

2004-09-13 Thread Bee
> Have you read the pack and unpack tutorial? > > perldoc perlpacktut Thanks for this, I missed this one. > > > > Q1. Can I expect that pack can do this for me ? > > - compress a text file in smaller size > > You could implement a compression algorithm with pack/unpack, if you really > w

Re: Conceptual questions about 'pack'

2004-09-13 Thread Jenda Krynicky
From: "Bee" <[EMAIL PROTECTED]> > > > - besize template 'aAuU', anything else tempplate I can use to > > > prepare fix length data ? - if yes, but how do I assuming the > > > block size is? In case, if I write a binary file and I wanna > > > use seek. > > > > You are going to have

Re: SMTP

2004-09-13 Thread Jenda Krynicky
From: Ramprasad A Padmanabhan <[EMAIL PROTECTED]> > On Mon, 2004-09-13 at 14:36, Anish Kumar K. wrote: > > HI > > > > I am using Active PERL for WINDOWS. How will I know > > SMTP is Installed on the system...Can you suggest a small program > > for SMTP > > > > Anish > > > > You can find if smtp

RE: SMTP

2004-09-13 Thread Bob Showalter
Anish Kumar K. wrote: > HI > > I am using Active PERL for WINDOWS. How will I know > SMTP is Installed on the system...Can you suggest a small program for > SMTP Client or server? If you want to send mail, I suggest installing MailTools (ppm install MailTools), which gives you the Mail::Send mo

Re: Conceptual questions about 'pack'

2004-09-13 Thread Bee
> > > > - besize template 'aAuU', anything else tempplate I can use to > > > > prepare fix length data ? - if yes, but how do I assuming the > > > > block size is? In case, if I write a binary file and I wanna > > > > use seek. > > > > > > You are going to have to explain that in

perl.beginners Weekly list FAQ posting

2004-09-13 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

Undefined subroutine [...] called at [...] though sub and routine exist

2004-09-13 Thread Schlabach, Torsten
Dear list, I have a problem with Perl and I have no idea at all how to search for it. I have a CGI script that is calling a perl module. One function in that module uses a sub which is defined only later in the source, but there is a forward declaration available for the function with sub. Conc

Re: Undefined subroutine [...] called at [...] though sub and routine exist

2004-09-13 Thread Jenda Krynicky
From: "Schlabach, Torsten" <[EMAIL PROTECTED]> > I have a CGI script that is calling a perl module. One function in > that module uses a sub which is defined only later in the source, but > there is a forward declaration available for the function with sub. > Conceptionally this looks like this: >

RE: Undefined subroutine [...] called at [...] though sub and rou tine exist

2004-09-13 Thread Bob Showalter
Schlabach, Torsten wrote: > Dear list, > > I have a problem with Perl and I have no idea at all how to search > for it. > > I have a CGI script that is calling a perl module. One function in > that module uses a sub which is defined only later in the source, but > there is a forward declaration

AW: Undefined subroutine [...] called at [...] though sub and rou tine exist

2004-09-13 Thread Schlabach, Torsten
Well, it's not really MY code, but I will attach it. It is line 103 that breaks! (The call to genDialog.) Torsten -Ursprüngliche Nachricht- Von: Jenda Krynicky [mailto:[EMAIL PROTECTED] Gesendet: Montag, 13. September 2004 18:47 An: '[EMAIL PROTECTED]' Betreff: Re: Undefined subroutine [

AW: Undefined subroutine [...] called at [...] though sub and rou tine exist

2004-09-13 Thread Schlabach, Torsten
>> Is this a pure CGI environment, Yes! >> or are you running under mod_perl or similar? No! >> Are you sure there is no package statement before the declaration of usedLater? None except the one saying "package FooModule;". >> Are you positive there are no typos? Yes, I am. This is becau

Re: Conceptual questions about 'pack'

2004-09-13 Thread Randy W. Sims
Bee wrote: >- besize template 'aAuU', anything else tempplate I can use to >prepare fix length data ? - if yes, but how do I assuming the >block size is? In case, if I write a binary file and I wanna >use seek. You are going to have to explain that in more

RE: Conceptual questions about 'pack'

2004-09-13 Thread Bob Showalter
Bee wrote: > > > In case, I am doing something like a log with User v > > > TimesOfSignIn. So, user name will set as 30 char long, and the > > > Signin times is about in scope of a normal integer. I wanna make > > > this a simple DB for this but not a list of single files for each > > > user. So I

bundle install fails

2004-09-13 Thread James D. Parra
Hello, I am trying to install the "Convert::BinHex" bundle from CPAN, but I am getting the error below. Any ideas on how I can fix this. Thank you in advance. ~James CPAN.pm: Going to build E/ER/ERYQ/Convert-BinHex-1.119.tar.gz Checking if your kit is complete... Looks good Writing Makefile

Re: Reading input and Word completion

2004-09-13 Thread Manish
Hi, I was wondering if this is the wrong list for this. Or is the description too vague? Any help is appreciated. thanks, manish Manish <[EMAIL PROTECTED]> wrote: Hi, I'm new to perl and I'm trying to write a simple program that will take commands from user. I would like to provide comman

dereferencing array of hashes in a Tk widget

2004-09-13 Thread Michael Ragsdale
I'm using Tk as my user interface and I'm listing rows of data from a database. The first widget in each row is a button that calls a subroutine, the next items in each row is a radio button group denoting the "status" of each row, then there is some more data. Something like this: [Update]

RE: Reading input and Word completion

2004-09-13 Thread Bob Showalter
Manish wrote: > Hi, > > I was wondering if this is the wrong list for this. Or is the > description too vague? Your example doesn't show evidence that you've read the docs for Term::Complete. Start there. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: bundle install fails

2004-09-13 Thread u235sentinel
You might want to try downloading the binhex code and build it without cpan. I did find this during my google on ExtUtils::Command::MM It suggests the code is not stable. Might be the problem. It's not on your system and CPAN installs of it might be a problem. http://www.perldoc.com/perl5.8.4

RE: perl crashing at $image->Read (file=> \*ARGV);

2004-09-13 Thread Brian Volk
Brian Volk wrote: >but I am still having some problems with Scale and Write. The error is: > >"my" variable $img masks earlier declaration in same scope at C:/Program Files/ >erlEdit/scripts/image_test.pl line 25. >JPEG 70048.jpg >Can't call method "Scale" on an undefined value at C:/Program File

curses

2004-09-13 Thread Flatman
Hello ! Anybody knows good tutorials for perl-curses ? Thanks Erik -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: perl crashing at $image->Read (file=> \*ARGV);

2004-09-13 Thread Brian Volk
Wiggins d'Anconia wrote: >It appears that the docs for I::M are incorrect and that C and >C must take a filehandle. Difficult to tell since all the code >is XS/C and I didn't feel like popping the hood on it. You could try >switching back to using a handle but I would be more specific about it

Re: curses

2004-09-13 Thread Chris Devers
On Mon, 13 Sep 2004, Flatman wrote: > Anybody knows good tutorials for perl-curses ? A brief pointer on perldoc.com -- -- points to this sample script from Tom Christiansen --

perl_mod

2004-09-13 Thread Patricio Bruna V.
where i can start? -- Patricio Bruna Villarroel Ingeniero Linux Center S.A. Red Hat Certified Engineer Fono:(56-2) 274 5000  Fax:(56-2) 274 7075 [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: perl_mod

2004-09-13 Thread Chris Devers
On Mon, 13 Sep 2004, Patricio Bruna V. wrote: > where i can start? Google? Amazon? Specific, concrete questions? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Reading input and Word completion

2004-09-13 Thread Manish
Hi Bob, Thanks for the response. Perhaps someone can point me to "docs for Term::Complete". I looked at http://www.perl.com/doc/manual/html/lib/Term/Complete.html but it wasn't helpful :( It's very brief and when I follow what it says I get the following error: Undefined subroutine &main::com

RE: Reading input and Word completion

2004-09-13 Thread Chris Devers
On Mon, 13 Sep 2004, Manish wrote: > Thanks for the response. Perhaps someone can point me > to "docs for Term::Complete". I looked at > http://www.perl.com/doc/manual/html/lib/Term/Complete.html > but it wasn't helpful :( It's very brief and when I > follow what it says I get the following err

Re: Reading input and Word completion

2004-09-13 Thread Remo Sanges
On Sep 14, 2004, at 12:15 AM, Manish wrote: follow what it says I get the following error: Undefined subroutine &main::complete called at try.pl line 14. Any pointers to docs are appreciated. Never used this module, but when I get this kind of error is because I haven't load functions in the 'rigth

Re: Reading input and Word completion

2004-09-13 Thread Chris Devers
On Tue, 14 Sep 2004, Remo Sanges wrote: > On Sep 14, 2004, at 12:15 AM, Manish wrote: > > > follow what it says I get the following error: > > > > Undefined subroutine &main::complete called at try.pl > > line 14. > > > > Any pointers to docs are appreciated. > > Never used this module, but wh

RE: bundle install fails

2004-09-13 Thread James D. Parra
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 13, 2004 1:29 PM To: [EMAIL PROTECTED] Subject: Re: bundle install fails You might want to try downloading the binhex code and build it without cpan. I did find this during my google on ExtUtils:

Re: perl_mod

2004-09-13 Thread u235sentinel
Chris Devers wrote: On Mon, 13 Sep 2004, Patricio Bruna V. wrote: where i can start? Google? Amazon? Specific, concrete questions? Personally I started at the beginning. But that's me ;-) Seriously though. Perhaps starting at perl.apache.org. Also, there is the Oreilly book "Pra

Thanks (was -> Re: Reading input and Word completion)

2004-09-13 Thread Manish
Hi Chris, Thanks for pointing out the case! The page I was looling at documented this as lowercase "complete". However I see that some other manpages have the correct version - "Complete". Fixing the case does the job. Thanks much for pointing this out. best regards, manish --- Chris Devers

Re: bundle install fails

2004-09-13 Thread u235sentinel
Thank you for your response. Sorry for the newbie question, but from where and how do install the Convert::BinHex code and build it? Thank you, again. James No worries. I usually go to cpan.org. Here is the direct link to the info page. Lots of good details on how it works. http://search

Regex help

2004-09-13 Thread Johnstone, Colin
Hi all, What I would like to do is from a string that represents a Primary Navigation item on our menu e.g News & events create a filename. I firstly need to remove any invalid characters (including spaces) $filename = 'News & events'; $filename =~ s/[\w\&%'[EMAIL PROTECTED](\)&_\\+,\.=\[\]]

RE: Regex help

2004-09-13 Thread Jim
> Hi all, Hi > > create a filename. > > I firstly need to remove any invalid characters (including spaces) What do you consider invalid chars? Do you want just alpha cars? > > $filename = 'News & events'; > $filename =~ > s/[\w\&%'[EMAIL PROTECTED](\)&_\\+,\.=\[\]]//g; > > then conver

RE: Regex help

2004-09-13 Thread Johnstone, Colin
Hi Jim, rather than re-invent the wheel I would prefer if you could fix this regex I believe it covers all invalid characters one would encounter s/[\w\&%'[EMAIL PROTECTED](\)&_\\+,\.=\[\]]//g; I would then use it as a general purpose regex for validating filenames. Regards Colin > Hi all,

RE: Regex help

2004-09-13 Thread Raymond Raj
Hi, you should escape "/" char also, here is the problem must be <\/sub> still this regular expression will not give what you expecting result, it remove all alphanumeric char also.. for help try "perldoc perlre" or wait some time some one give good guide.. regards Raymond -Original Messa

RE: Regex help

2004-09-13 Thread Jim
> > Hi Jim, > > rather than re-invent the wheel I would prefer if you could > fix this regex I believe it covers all invalid characters one > would encounter > > s/[\w\&%'[EMAIL PROTECTED](\)&_\\+,\.=\[\]]//g; > > I would then use it as a general purpose regex for validating > filenames.

RE: Regex help

2004-09-13 Thread Johnstone, Colin
Hi Jim, In our cms 'Teamsite' our users will create a primary navigation menu using one of the templates In the template I require them to enter the Anchor text and url for each of the primary menu items for the purposes of this example I will provide only the Anchor text below e.g Home, Enro

Re: Regex help

2004-09-13 Thread John W. Krahn
Johnstone, Colin wrote: Hi Jim, Hello, (my name is John BTW) rather than re-invent the wheel I would prefer if you could fix this regex I believe it covers all invalid characters one would encounter s/[\w\&%'[EMAIL PROTECTED](\)&_\\+,\.=\[\]]//g; Most of those characters are valid in DOS file name

RE: Regex help

2004-09-13 Thread Johnstone, Colin
Hi John, I found this regex by searching on google and I assumed the guy who wrote it knew more than me. I am creating unix filenames on this project but Teamsite can also be run under a windows environment. I guess I was looking for a general purpose regex to remove invalid characters from f