Re: unsatisfied configure_requires in perl 5.12.3?

2014-04-22 Thread Daniel Staal
--As of April 22, 2014 9:23:28 AM -0400, David Golden is alleged to have said: On Tue, Apr 22, 2014 at 8:03 AM, David Cantrell da...@cantrell.org.uk wrote: toolchain, including CPAN clients. Testing whether something can pass tests on a bog-standard ancient Perl is not really useful data for

Re: unsatisfied configure_requires in perl 5.12.3?

2014-04-22 Thread Daniel Staal
--As of April 22, 2014 9:46:26 AM -0700, Karen Etheridge is alleged to have said: On Mon, Apr 21, 2014 at 11:25:48PM -0400, Daniel Staal wrote: If you truly need a minimum version of CPAN, declare it. You can set a version of CPAN in the prereqs like you can set any other module

Re: Leading zero in a string

2004-09-09 Thread Daniel Staal
--As of Thursday, September 9, 2004 9:24 AM -0500, Errin Larsen is alleged to have said: Excellent! Thank you. I knew it was something easy, just hadn't kick-started my brain yet this morning. But I've got another one. What if the user input, say, '007' on the command line? How can I strip

RE: Array - how to access and display??

2004-09-01 Thread Daniel Staal
--As of Wednesday, September 1, 2004 8:45 PM -0500, Jerry Preston is alleged to have said: This works!! print history $history[ 0 ]{ version }\n; --As for the rest, it is mine. Great! Do you know *why*? (Note: You are not only accessing an array...) Daniel T. Staal

Re: Could this be made shorter and cleaner?

2004-08-31 Thread Daniel Staal
--As of Tuesday, August 31, 2004 10:07 AM +0100, Gavin Henry is alleged to have said: P.S. I am now a programmer or a scripter, I am not sure is perl is programming or scripting? I think programming. --As for the rest, it is mine. Short answer: Yes. (It is at least one of the two.) ;) Long

Re: how to encrypt my perl script

2004-08-15 Thread Daniel Staal
--As of Saturday, August 14, 2004 6:56 PM +0800, Franklin is alleged to have said: I would run a perl script in my website which is hosted in one hosting service provider. Is there any means that I can use to encrypt my script so that it can't be viewed by others illegally? --As for the rest, it

Re: PERL and Mobile Devices.

2004-08-13 Thread Daniel Staal
--As of Tuesday, August 10, 2004 12:54 PM -0700, Joe Echavarria is alleged to have said: can i write applications with perl for mobile devices , --As for the rest, it is mine. Define 'mobile devices'... Daniel T. Staal --- This email

Re: Favorite email parser?

2004-06-29 Thread Daniel Staal
--As of Tuesday, June 29, 2004 3:46 PM -0700, Brian Gerard is alleged to have said: 1) Does this sound like a reasonable approach to the problem, given the relatively low amount of detail I've provided? Anyone dealt with this type of thing before and have any gotchas for me? I can't say

Re: Changing user in perl

2004-06-12 Thread Daniel Staal
--As of Friday, June 11, 2004 1:10 PM -0700, Tham, Philip is alleged to have said: I am trying to execute a perl script from html. However this is to be executed by a certain user and the script also updates files in the system. Is there a was I can do a chuser and set the s-bit. --As for the

Re: need help

2004-06-01 Thread Daniel Staal
--As of Tuesday, June 1, 2004 7:55 PM +0530, Sidharth is alleged to have said: hi all , i am new to this group and perl world . i hav a problem in a script where in i hav to go to the each subdirectory within a directory and creat a temporary file and open it for edit. how can i accomplish

Re: A MySQL Question

2004-05-24 Thread Daniel Staal
--As of Monday, May 24, 2004 8:43 AM +0600, LRMK is alleged to have said: By the way is PostgreSQL free and if yes where can I get a copy to practise myself. --As for the rest, it is mine. Yes: http://www.postgresql.org/ Daniel T. Staal

Re: perl mysql question

2004-04-26 Thread Daniel Staal
--As of Monday, April 26, 2004 5:30 PM -0700, Christopher Lyon is alleged to have said: So, how to I get the values to look like in variable so that I can push them back into a new table: New Table namecount -+--- Widgets-A| 25 Widgets-B| 10 Widgets-C| 20

Re: perl +sendmail

2004-04-17 Thread Daniel Staal
--As of Saturday, April 17, 2004 7:54 AM +0200, deny is alleged to have said: dont know i use sendmail-8.12.9-7mdk snip / its my server lrwxrwxrwx1 root root 21 avr 13 14:37 sendmail - /etc/alternatives/mta* The point he was making is that if you call sendmail directly you have

Re: Avoiding using temporary files

2004-04-14 Thread Daniel Staal
--As of Wednesday, April 14, 2004 11:16 AM +0100, Richard Barrett-Small is alleged to have said: Could you give me a stab of code demonstrating appending or printing to a scalar and also how I might avoid printing OUT but retain the changes I made to the filehandle so they can be passed to

Re: Avoiding using temporary files

2004-04-13 Thread Daniel Staal
--As of Tuesday, April 13, 2004 2:16 PM +0200, Jenda Krynicky is alleged to have said: I am running some substitutions on a file which has a distinctive record structure. Each record is printed to the output filehandle in turn after the substitutions have been performed. Once all records are

Re: How to determine if STDIN has piped data?

2004-04-02 Thread Daniel Staal
--As of Thursday, April 1, 2004 11:48 AM +0159, Morten Liebach is alleged to have said: Strangely, I find that we almost always want our scripts to act this way. If any files or data is passed to the script, then it uses it. Otherwise, it prints usage instructions (since we'd rather not have man

Re: using strict

2004-04-01 Thread Daniel Staal
--As of Thursday, April 1, 2004 5:01 PM -0500, [EMAIL PROTECTED] is alleged to have said: what is a soft reference? what is a bareword? why is strict disallowing a compile here When I comment out strict the syntax checks outs as ok!??? how do I display each element # with its corresponding

Re: Strings with extended characters

2004-04-01 Thread Daniel Staal
--As of Thursday, April 1, 2004 9:58 AM -0500, [EMAIL PROTECTED] is alleged to have said: Is there a simple way to reject any string that has extended characters in it? In other words, only accept the 88 (I think it's 88) regular keyboard characters and numbers. I can't find a simple way to do

Re: Project Advice Wanted

2004-03-30 Thread Daniel Staal
--As of Tuesday, March 30, 2004 10:59 AM -0500, Steve Gross is alleged to have said: 1) Any good Perl/other tool to create screens/web pages? 2) any recommended database interfaces? I've use ODBC and would like to make it general enough to handle a wide variety of conventional databases

Re: HOW-TO of the Month Club (end Of MARCH Edition)

2004-03-27 Thread Daniel Staal
--As of Saturday, March 27, 2004 10:17 AM -0500, WC -Sx- Jones is alleged to have said: Also, all of these $:: are brought into GLOBAL usage (which some programmers frown upon much like GOTO syntax is frowned upon.) --As for the rest, it is mine. They why aren't you just leaving off warnings

Re: Could I put commands in a variable

2004-02-20 Thread Daniel Staal
--As of Friday, February 20, 2004 11:25 AM +, Rob Dixon is alleged to have said: I haven't looked at your code, but I don't think a rewrite is in the spirit of helping beginners at Perl. It may occasionally be the best answer, but I suspect you're simply enjoying yourself here ;) --As for

Re: Could I put commands in a variable

2004-02-20 Thread Daniel Staal
--As of Friday, February 20, 2004 8:35 AM -0800, R. Joseph Newton is alleged to have said: I don't know about this Daniel. Even for all its goto's, I found the original more reaable. I actually found his code quite readable, and felt I lost some of that. I felt it a tradeoff worth making at

Re: Could I put commands in a variable

2004-02-19 Thread Daniel Staal
--As of Thursday, February 19, 2004 2:22 PM -0500, Joel is alleged to have said: Yes, BASIC is the only programming I have ever done. All I can really remember was PRINT, GOTO, and a variety of line numbers. I'm trying to write a text adventure (Don't look at me like that, Perl is a general

Re: switch statement

2004-02-19 Thread Daniel Staal
--As of Thursday, February 19, 2004 10:14 PM +0100, Anthony Vanelverdinghe is alleged to have said: Could anyone please tell me what's wrong with the following program? The compiler gives errors in the switch statement. --As for the rest, it is mine. You mean, besides the fact that Perl doesn't

Re: switch statement

2004-02-19 Thread Daniel Staal
--As of Thursday, February 19, 2004 10:29 PM +0100, Anthony Vanelverdinghe is alleged to have said: Didn't know it wasn't in Perl, but I've just discovered it's possible with some file called Switch.pm --As for the rest, it is mine. You mean the 'Switch' module. (Sorry, I should have mentioned

Re: Could I put commands in a variable

2004-02-19 Thread Daniel Staal
--As of Thursday, February 19, 2004 6:31 PM -0500, Joel is alleged to have said: Here it is. Okay so it isn't tommorow. I shortened it a bit, but its the same really. --As for the rest, it is mine. Here's a first approximation of a rewrite. ;-) (Major problem: it always asks what you want to

Re: connecting to a mail server via IMAP

2004-02-17 Thread Daniel Staal
--As of Tuesday, February 17, 2004 4:17 PM +0200, John is alleged to have said: Is it neseccary to authenticate the smtp host? It depends on the host. ;-) testing the first sample script i saw no results. Where is the problem? We'll need more information than that... I assume you were trying

Re: connecting to a mail server via IMAP

2004-02-17 Thread Daniel Staal
--As of Tuesday, February 17, 2004 4:58 PM +0200, John is alleged to have said: Here is my code Thanks. ;-) #!/usr/bin/perl -w use strict; use Mail::Sender; $sender = new Mail::Sender({smtp = 'mymailserver', from = '[EMAIL PROTECTED]'}); $sender-MailFile({to = '[EMAIL PROTECTED]',

Re: connecting to a mail server via IMAP

2004-02-17 Thread Daniel Staal
--As of Tuesday, February 17, 2004 5:53 PM +0200, John is alleged to have said: Unfortunately, MIME::Lite requires Sendmail on the host. --As for the rest, it is mine. Actually, no. It just uses it by default... You can say: $msg-send('smtp'); #Uses the default smtp server. or:

Re: connecting to a mail server via IMAP

2004-02-17 Thread Daniel Staal
--As of Tuesday, February 17, 2004 7:42 PM +0200, John is alleged to have said: Relaying denied. What is that? The sever doesn't allow you to connect to send mail through it. (You can send mail *to* it, or *from* it, probably, but not *through* it.) Could i connect to any smtp server i want.

Re: Why does this keep happening?

2004-02-17 Thread Daniel Staal
--As of Tuesday, February 17, 2004 5:28 PM -0500, Joel is alleged to have said: I fixed the source code with the suggestions given, but still no luck. Any other ideas? Joel --- # !usr/bin/perl $abc=1000 Still need a semicolon... (and a 'my', for

Re: Searching through a directory.

2004-02-13 Thread Daniel Staal
--As of Friday, February 13, 2004 5:07 PM -0800, John Lin is alleged to have said: for ($i=0; $i = $#filenames; $i++) { [EMAIL PROTECTED]; if ($wanted_filename == $filename) { $append_filename=$filename . ';'; open(APPENDFILE,

Re: testing state of filehandle

2004-02-11 Thread Daniel Staal
--As off Wednesday, February 11, 2004 1:25 PM -0600, Michael C. Davis is alleged to have said: At 07:22 PM 2/11/04 -, Rob Dixon wrote: Please guys, not in an existing thread. Not sure I undestand, looks like a new thread ... ? --As for the rest, it is mine. Erm, no. Not to those of us with

[OT] Re: Script Kiddie issues

2004-02-07 Thread Daniel Staal
--As off Saturday, February 7, 2004 12:37 PM -0500, Wiggins d'Anconia is alleged to have said: What is to stop a spammer or script kiddie finding out about your ruse, possibly even listening in on the conversation, and rather than trying to hack your system starts sending out mass emails to

Re: Timing out without alarm function

2004-02-03 Thread Daniel Staal
--As off Tuesday, February 3, 2004 10:09 AM -0700, Sam Masiello is alleged to have said: I have a script where I am sending some data over a socket, but after X seconds I want the operation to time out. I am currently using alarm to enforce the timeout, but I don't want the script to die. I

Re: How to put a variable value into a text file

2004-01-30 Thread Daniel Staal
--As off Friday, January 30, 2004 7:57 AM -0500, [EMAIL PROTECTED] is alleged to have said: Basically, I wanted to know how to put a receipient's name into a canned letter. Like this. $name = Joe Blow The canned letter template: --As for the rest, it is mine. Has anyone pointed out

Re: Can Perl run on Windows CE or Palm?

2004-01-27 Thread Daniel Staal
--As off Monday, January 26, 2004 9:05 PM +0800, Bee is alleged to have said: 1. Can Perl run on Windows CE or Palm ( Same as subject ) 2. If I can, Is there any modules would helpful on develope my script for these platforms ? 3. Can I use Perl to write the Hot Sync process instead of build in

Re: HTML reports via email

2004-01-26 Thread Daniel Staal
--As off Sunday, January 25, 2004 5:30 PM -0800, Paul Harwood is alleged to have said: I am trying to learn the best way to send HTML formatted reports via e-mail using the standard modules that come with Perl 5.8. The examples I have seen assign blocks of HTML code to scalars and pass them to

Re: can i do it with perl ?

2004-01-23 Thread Daniel Staal
--As off Saturday, January 24, 2004 12:07 AM +0100, wolf blaum is alleged to have said: I didnt find a way to do the dishes yet, anything else I ever tried works in perl. --As for the rest, it is mine. I'm sure you could do something with LEGO::RCX and a Mindstorms kit... ;-) Daniel T. Staal

Re: Relative path

2004-01-19 Thread Daniel Staal
--As off Monday, January 19, 2004 5:50 PM +0100, Jan Eden is alleged to have said: I imagine you could fix it by upgrading/reinstalling Perl, if you're interested. Can I reinstall Perl (just Perl) from the OS X CDs? --As for the rest, it is mine. Yes, if you get the program Pacifist. It can

Re: strange sort order

2004-01-15 Thread Daniel Staal
--As off Wednesday, January 14, 2004 11:24 PM -0500, Daniel Staal is alleged to have said: my @a = unpack(C*, $a); my @b = unpack(C*, $b); This can also be done with a: my @a = split //, $a; # (That is a null pattern.) I'm not sure if split or unpack is faster, I'll have to benchmark

Re: == eq gt

2004-01-14 Thread Daniel Staal
--As off Wednesday, January 14, 2004 10:34 AM -0500, Paul Kraus is alleged to have said: I understand that the eq and gt are for string comparisons but why not just use the mathematical ones of == or . This goes for functions open ... or compared to open .. || --As for the rest, it is mine.

Re: Emacs Wizards

2004-01-14 Thread Daniel Staal
--As off Wednesday, January 14, 2004 8:29 AM -0800, drieux is alleged to have said: Or if we are using our bbedit it is some find and replace with grep using the selected region only or in --As for the rest, it is mine. Actually, in BBEdit it is Tools-Un/Comment. No shortcut key by

Re: strange sort order

2004-01-14 Thread Daniel Staal
--As off Wednesday, January 14, 2004 6:23 PM -0500, danl001 is alleged to have said: I'm thinking the way the file is sorted is something simple, yet something I don't recgonize! As a result, you'll see that my method is probably very over-complicated. I have also posted some more data that is

Re: multiline matching

2004-01-14 Thread Daniel Staal
--As off Wednesday, January 14, 2004 6:22 PM -0700, Jose Malacara is alleged to have said: Can someone explain to me how to do multiline matching? I am trying to extract three consecutive lines from a datafile containing multiple records like this: Name: Jose City: Denver State: Colorado

Re: strange sort order

2004-01-14 Thread Daniel Staal
--As off Wednesday, January 14, 2004 10:48 PM -0500, Dan is alleged to have said: Oh no! Its slower! I wrote a function implementing what is described above and its actually slower (about 1/2 as slow) than that huge thing I posted earlier. Does anything stand out here as being inefficient? Here

Re: Cobol format conversion

2004-01-10 Thread Daniel Staal
--As off Saturday, January 10, 2004 3:40 PM +0100, Olivier Wirz is alleged to have said: Hello, What is the best way to convert a numeric cobol format S9(09)V9(04) in a more readable way. For example: 0100} will be -1000. 0100{ will be 1000. It works with substr and

Re: Cobol format conversion

2004-01-10 Thread Daniel Staal
--As off Saturday, January 10, 2004 11:53 AM -0800, R. Joseph Newton is alleged to have said: Olivier Wirz wrote: Hello, What is the best way to convert a numeric cobol format S9(09)V9(04) in a more readable way. How would we know? This is a Perl list. To some people here, the string above

Re: solved - OS X, cpan, libnet

2004-01-09 Thread Daniel Staal
--As off Friday, January 9, 2004 1:08 AM -0600, Robert Citek is alleged to have said: On Thursday, January 8, 2004, at 08:22 AM, Daniel Staal wrote: 1. Upgrade to Panther. ;-) It includes Perl 5.8, and plenty more. In the queue to do. Also, want to dual boot with Linux, but that's

Re: OS X, cpan, libnet

2004-01-08 Thread Daniel Staal
--As off Thursday, January 8, 2004 1:18 AM -0600, Robert Citek is alleged to have said: Hello all, I have perl 5.6.0 on my Mac OS X. I'd like to install libnet. However, when I try to use cpan, it wants to automagically upgrade my perl to 5.8.2. All I really want is Net::FTP. What is my best

Re: help with user vars qw

2004-01-05 Thread Daniel Staal
--As off Monday, January 5, 2004 7:20 PM -0300, Ricardo Pichler is alleged to have said: Hi, I'm beginner in the perl world, I having see very files .pl to learn and I have one question... In this script, what do make the parts in bold? Umm, Bold? You sent text/plain. There is no bold. #

Re: My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Daniel Staal
--As off Tuesday, December 30, 2003 11:58 AM -0600, Dan Muey is alleged to have said: So now it said Connection not established for the local sending to remote, which I would think would be the easiest one, especially since: Local to local is ok. Remote to local is ok. I'm not doing any remote

RE: My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Daniel Staal
--As off Tuesday, December 30, 2003 12:33 PM -0600, Dan Muey is alleged to have said: They are doing the Right Thing and not being an open relay. Basically the server says *one* of the persons involved has to be In both cases one is always a local user. But only in one case is authentication

RE: Can I set '$!' ?

2003-12-29 Thread Daniel Staal
--As off Monday, December 29, 2003 12:54 PM -0600, Dan Muey is alleged to have said: I want to be able to return a true or false value from a function in a module and populate the $! variable with the specific errors. Is this possible? Is there documentation on how to do this? I can find docs on

Re: Hi a question

2003-12-28 Thread Daniel Staal
--As off Friday, December 26, 2003 3:16 PM -0600, John McKown is alleged to have said: Actually, I considered an ini or cfg file, but rejected it. I was wanting something more standalone in this case. First, it seemed a bit much for only 4 parms. Second, I didn't want to maintain a separate

RE: How to write a page break character.- one more question

2003-12-22 Thread Daniel Staal
--As off Monday, December 22, 2003 9:15 AM +0530, [EMAIL PROTECTED] is alleged to have said: I have one more requirement, The last STATUS which occurs just prior to the file end should not be followed by a page break character. How can I code this in perl? --As for the rest, it is mine. Just to

Re: generating GIFs

2003-12-21 Thread Daniel Staal
--As off Sunday, December 21, 2003 11:59 AM -0600, Robert Brown is alleged to have said: Is there any alternative to gifs to make animated images? Flash is proprietary to macromedia, and gif to Unisys. Is there such a thing as an animated png? How about a free (in the GPL sense) open sourced

Re: generating GIFs

2003-12-20 Thread Daniel Staal
--As off Saturday, December 20, 2003 2:23 PM -0600, Andrew Gaffney is alleged to have said: I want to write a Perl program that will auto generate GIF images. The images that I want to generate will be about 30x80. It will be a black rectangle starting in the bottom-right with a few pixels

Re: When to USE shift or @_

2003-12-19 Thread Daniel Staal
--As off Saturday, December 20, 2003 1:57 PM +1100, Colin Johnstone is alleged to have said: Gidday all, I want to pass a boolean value as a parameter to a subroutine what should I use shift or @_ and whats the difference please. e.g mySubRoutine(0); sub mySubRoutine{ my

Re: Question for this Group ... dont flame me :)

2003-12-12 Thread Daniel Staal
--As off Friday, December 12, 2003 7:25 AM -0800, Jeff Westman is alleged to have said: So, why is it that most of the solutions represented in this group tend to point to a CPAN module when the code for it isn't that hard (usually) to write? I'm not sure if using modules is a matter of

Re: Use DBI quote without creating an object

2003-12-11 Thread Daniel Staal
--As off Thursday, December 11, 2003 12:53 PM -0600, Dan Muey is alleged to have said: I'd like to use DBI's quote function without having to connect to a database and without having to create my own! Is that possible? --As for the rest, it is mine. I would suspect it is not possible. You have

Re: problems with case insensitive tr/// regexp

2003-11-28 Thread Daniel Staal
--As off Friday, November 28, 2003 1:08 PM -0800, R. Joseph Newton is alleged to have said: s[\/?font.*?\][]gsi Cool! Thanks, Daniel, that is very nice work. I could feel myself going back over those first steps in using regexes as I followed your post. --As for the rest, it is mine. Heh,

Re: problems with case insensitive tr/// regexp

2003-11-27 Thread Daniel Staal
--As off Thursday, November 27, 2003 7:42 PM -0500, Dan Anderson is alleged to have said: So what am I doing wrong and how do I make a case insensitive tr/// regexp? Thanks for your help, --As for the rest, it is mine. You can't make a case insensitive tr/// regexp: tr/// doesn't do

Re: problems with case insensitive tr/// regexp

2003-11-27 Thread Daniel Staal
--As off Thursday, November 27, 2003 7:05 PM -0600, Perl Newbies is alleged to have said: --As off Thursday, November 27, 2003 7:42 PM -0500, Dan Anderson is alleged to have said: So what am I doing wrong and how do I make a case insensitive tr/// regexp? Thanks for your help, --As for

Re: Reply to the list WAS Yahoo! Getter

2003-11-26 Thread Daniel Staal
--As off Wednesday, November 26, 2003 9:37 PM +0100, Jerry Rocteur is alleged to have said: I see this a lot of this on this list, Reply to the list, Reply to the list, Reply to the list. If it was the intention of the list manager for people to reply to the list then a reply would go to the

Re: Glob and space in directory name

2003-11-26 Thread Daniel Staal
--As off Wednesday, November 26, 2003 3:58 PM -0500, Boris Shor is alleged to have said: Why does the following work (eg, give me an array filled with matching file names): @filelist = glob(w:/stleg/Colorado/House_98/*.htm); And when I rename the directory to House 98 (space instead of

Re: Don't Send To Me!

2003-11-24 Thread Daniel Staal
--As off Monday, November 24, 2003 12:54 AM -0600, Jason Dusek is alleged to have said: Is there some way to get people on this list to stop sending me two emails at once? I am on the beginner's list - so when you send email to me and then cc to the list, I get two. Which is annoying. I

Re: Rounding off

2003-11-22 Thread Daniel Staal
--As off Saturday, November 22, 2003 4:27 PM -0600, Mike Blezien is alleged to have said: Hello, I need the ability to round off dollar amounts to the nearest 100th of a dollar amount, IE $14.9564 to $14.96 or $132.1123 to $113.11 what is the best way to accomplish this ?? --As for the rest, it

RE: Pointers

2003-11-20 Thread Daniel Staal
--As off Thursday, November 20, 2003 12:20 PM -0700, Eric Walker is alleged to have said: ok why the $$ instead of the %$? sorry confused. On Thu, 2003-11-20 at 12:08, Paul Kraus wrote: $$overdate{key} Perldoc perlref --As for the rest, it is mine. $$ would get you the value of a

Re: mail auto delete from POP server

2003-11-19 Thread Daniel Staal
--As off Wednesday, November 19, 2003 7:42 PM +0530, Ramprasad A Padmanabhan is alleged to have said: I would like to write a program that deletes all mails from my popserver which are older than 'n' days Is there a script available already. If I were to write a script using Mail::POP3Client ,

Re: first steps with perl, a log reader

2003-11-16 Thread Daniel Staal
--On Sunday, November 16, 2003 8:45 PM +0100 Guardian Angel [EMAIL PROTECTED] wrote: use strict; # Always use warnings; # Usually (same as -w qualifier but portable) i will do that, use warnings; gave me more (human readable) errors, so better to understand for me. Well, if it's human

Re: File upload script

2003-11-16 Thread Daniel Staal
--As off Sunday, November 16, 2003 5:17 PM -0800, [EMAIL PROTECTED] is alleged to have said: Can someone point the way to some file upload script for webserver on unix/linux? --As for the rest, it is mine. Single file, batch, automated, manual, FTP, RCP, email, SCP, CVS, SFTP, remote, local,

Re: not on topic but relevant to list

2003-11-13 Thread Daniel Staal
--On Wednesday, November 12, 2003 6:25 PM -0500 Casey West [EMAIL PROTECTED] wrote: It was Wednesday, November 12, 2003 when [EMAIL PROTECTED] took the soap box, saying: : hum could we not get a nice topic prefix added to the list? : it would make it a lot easy to make mail filters that could

Re: Threading In List Replies [Re: QUESTION]

2003-11-13 Thread Daniel Staal
--On Thursday, November 13, 2003 12:35 AM -0800 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Now that you explained all that, should I reply or reply all? ie - this message does a reply all as: To: R. Joseph Newton [EMAIL PROTECTED] CC: Beginners--Perl [EMAIL PROTECTED], Rob Dixon [EMAIL

Re: Top-posting

2003-11-05 Thread Daniel Staal
--On Wednesday, November 5, 2003 8:00 PM + Rob Dixon [EMAIL PROTECTED] wrote: Alan Perry wrote: Rob Dixon wrote: I have taken to copying messages into my text editor as there is no email client that I know that can do what I want. Until I write it, that is :) Someone has saved you the

Re: printing: landscape instead of portrait

2003-10-31 Thread Daniel Staal
--On Friday, October 31, 2003 9:24 AM -0800 Gregg O'Donnell [EMAIL PROTECTED] wrote: I'm using MIME::Lite to send a wide email, which is formatted as HTML (could be formatted as text if needed, or as an attachment). How do I control the printing to orient the email to an 11 X 8 1/2

Image conversion modules?

2003-10-30 Thread Daniel Staal
Could someone recommend a good image file conversion/manipulation module? I'm having trouble finding one that actually works... Here are my requirements: *Must run under Mac OS X (10.3, but if it tested to earlier it should be fine.) *Must handle the following image formats: TIFF, PNG. *Must

Re: creating a hash list from arrays

2003-10-27 Thread Daniel Staal
--On Monday, October 27, 2003 21:51 -0500 radhika sambamurti [EMAIL PROTECTED] wrote: Hi, As per the code below, I am trying to read from the database and put the values into a hash list, so that I can retrieve the values later. I have managed to put the values into arrays, but am not able to

Re: creating a hash list from arrays

2003-10-27 Thread Daniel Staal
--On Monday, October 27, 2003 21:22 -0600 Daniel Staal [EMAIL PROTECTED] wrote: my $results_hash; Sorry, correction. That should be: my %results_hash; while (my $res = $sth-fetchrow_hashref()) { push(@menu_id, $res-{menu_item_number}); push(@menu_desc, $res-{description

Re: Adding Double Quotes to variable

2003-10-25 Thread Daniel Staal
--On Saturday, October 25, 2003 20:48 -0400 Anthony J Segelhorst [EMAIL PROTECTED] wrote: How can add double qoutes around SNMP Service to the variable $servicename? I have tried $doubleqoutes_servicename = $servicename; This does not work though. Any ideas? Either of the following should

Re: help with Very Small Perl?

2003-10-22 Thread Daniel Staal
--On Wednesday, October 22, 2003 16:24 -0600 McMahon, Chris [EMAIL PROTECTED] wrote: Can anyone suggest either: a way to make IO::Socket::INET work in the simplest possible way on 5.005; or a way to install the smallest possible 5.8; or something I haven't thought of? Any suggestion (no matter

Re: PostgreSQL and Customer Database

2003-10-18 Thread Daniel Staal
--On Saturday, October 18, 2003 18:14 +0200 Desmond Coughlan [EMAIL PROTECTED] wrote: OK, first question: is all the above possible ? I think that I know the answer, and that it's yes. You guessed right there, I believe. ;-) In which case, my second question is: where can I learn how to do it

Text encoding reversal.

2003-10-18 Thread Daniel Staal
Quick version: Can anyone tell me what the text encoding is called that this filename is in? Siham%2C%20Garden.png Longer version: I've got a minor snag in my conversion program: XML::Parser is encoding the attributes it returns to me. This isn't a problem in most cases, but there is one case

Re: Text encoding reversal.

2003-10-18 Thread Daniel Staal
--On Saturday, October 18, 2003 16:29 -0500 Wiggins d'Anconia [EMAIL PROTECTED] wrote: Well generally this is considered either HTML or URL escaping. So depending on which context you are needing (the above looks like URL) you may want to try the following two modules: URI::Escape HTML::Entities

Persistant Filehandles.

2003-10-17 Thread Daniel Staal
Ok, I'm writing an apxl to html converter and I have one little problem: I need to open a filehandle in one sub, use it in several others, and then close it in a different sub yet. I'd pass it as a parameter, but all the subs are actually called by XML::Parser, so I don't get to choose the

Re: Persistant Filehandles.

2003-10-17 Thread Daniel Staal
--On Friday, October 17, 2003 13:54 -0400 Steve Grazzini [EMAIL PROTECTED] wrote: You could use a lexically-scoped filehandle. { my $fh; sub do_open { open $fh } sub do_append { print $fh } sub do_close { close $fh } } I actually tried that, using

RE: Persistant Filehandles.

2003-10-17 Thread Daniel Staal
--On Friday, October 17, 2003 13:46 -0500 Charles K. Clarkson [EMAIL PROTECTED] wrote: : (I've tried re-creating the : HTML::Stream too, or just using the 'global' version.) : This actually was my first try at it. Again, slide() : works fine, but slide_() doesn't, even though it gets : called.

Re: Problem in Mail::Bulkmail 3.09 module

2003-10-17 Thread Daniel Staal
--On Friday, October 17, 2003 11:28 -0700 Chinku Simon [EMAIL PROTECTED] wrote: However, the number of mails that are being sent is pretty huge -- around 2000 mails in a span of 30 minutes. The perl program crashes after sending around 700 mails with the Bulk mail error log giving the following

Re: what is time?

2003-10-17 Thread Daniel Staal
--On Friday, October 17, 2003 19:08 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How can I convert it to a readable date? $now=time; print $now return 1066442632 Time is normally given as the epoch time: the number of seconds since the beginning of the clock under UNIX (Jan 1, 1970). To

Re: More what is time?

2003-10-17 Thread Daniel Staal
--On Friday, October 17, 2003 20:38 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I know about localtime(time); But I was wondering if there was a formula out there like 1066442632/60/60/24 that will say today is say 2003 10 17. scratches head Gee, I don't know what you're asking for here. I

Re: Help w/Class::Date Date.xs

2003-10-14 Thread Daniel Staal
--On Tuesday, October 14, 2003 15:49 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I downloaded the tar file. But I couldn't find out how to install it from the README. From the various info in the readme I was able to install the .pm files but not the xs. The Date class look like it's

Re: clean up sub?

2003-10-14 Thread Daniel Staal
--On Tuesday, October 14, 2003 15:59 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone shorten this upper routine? sub toUpper { my $z = shift; $z =~ tr/a-z/A-Z/; return $z; } Sure: sub toUpper { $_[0] =~ tr/a-z/A-Z/; } or sub toUpper { \U$_[0]; } I wouldn't write a function for

Re: DBI::XBase not finding table files

2003-10-13 Thread Daniel Staal
--On Monday, October 13, 2003 17:37 +0100 Gary Stainburn [EMAIL PROTECTED] wrote: Hi folks, I've got the code below, which is suposed to be showing me the contents of a .dbf file. However, whenever I try to run the program it fails to open the file. Can anyone tell me what I'm missing please

Re: regex require a period

2003-10-11 Thread Daniel Staal
--On Friday, October 10, 2003 18:21 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So, would this be it for the optional? /^[a-zA-Z0-9][\w-]*\.[a-zA-z]+$/ thanks Yep. Though you can always try for yourself... Daniel T. Staal ---

Re: regex require a period

2003-10-10 Thread Daniel Staal
--On Friday, October 10, 2003 16:43 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: rules: starts with alphanumeric 3 chars long Note, so we are not confused: you mean _at least_ 3 chars long. (Not _only_ 3 chars long.) require ONLY one period require alpha after the period Ok, what exactly

Re: regex require a period

2003-10-10 Thread Daniel Staal
--On Friday, October 10, 2003 17:45 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: start with [a-zA-Z0-9] chars following is [\w-] BUT IS OPTIONAL /^[a-zA-Z0-9][\w-]\.[a-zA-z]+$/ I think the regex is not doing the option \w part. Correct, it isn't. You haven't asked it to... To make it

Re: regex require a period

2003-10-10 Thread Daniel Staal
--On Friday, October 10, 2003 18:21 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So, would this be it for the optional? /^[a-zA-Z0-9][\w-]*\.[a-zA-z]+$/ thanks Yep, that should work for you. Daniel T. Staal (By the way: Don't reply to me *and* the list. I've set up my email client so

Re: using 3 arrays

2003-10-02 Thread Daniel Staal
--On Thursday, October 2, 2003 14:31 -0700 A L [EMAIL PROTECTED] wrote: @1@2@3 item1aitem1bitem1c item2aitem2bitem2c . . . . . . . . . They all have an equal number of items. I

Re: How do I RegExp Match a ? without using \X{3F}?

2003-10-02 Thread Daniel Staal
--On Thursday, October 2, 2003 17:54 -0400 Dan Anderson [EMAIL PROTECTED] wrote: Is there a way to match a question mark using a regular expression without looking for a \X{3F} ? Just escape it: \? Daniel T. Staal --- This email

Re: building module/package

2003-09-30 Thread Daniel Staal
--On Monday, September 29, 2003 23:53 -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -I've sent this to the mod_perl list but there seems to be no response. I got the module working in the current directory executing on the command line. But I have a problem calling a module in my mod_perl

  1   2   >