Re: perl extensions

2003-06-06 Thread Francis Henry
st line) by naming them with extension > .plx and having the files that just contain some subroutines, written in a > different file ( which can be called a library, if chosen too, because might > be used by other programs too) and having them with extension .pl > > Aman Raheja &g

perl extensions

2003-06-06 Thread Francis Henry
Hi: The following is a note from a colleague of which I am skeptical: "fyi .pl used to be used for both executables and libraries. A library is simply perl code located in a different file which is imported into another perl program with the 'require' keyword. Now that we hav

Re: Why can't use SQL "GROUP BY..."?

2003-01-09 Thread Francis Henry
Hi Gary: What happens when you run the SQL statement by itself, outside of the perl script? The error seems to lie with the SQL and not with perl/DBI. Once you're sure that the SQL statement works by itself, then put it into your script. Regards, Francis Gary Fung wrote: > Hi, > > I have

Re: C Beginners List? question, sorry,...

2002-07-24 Thread Francis Henry
hi david: try cprogramming.com. regards, francis david wrote: > please forgive this su*perl*flu*ous question. > > This board is a great resource to try, ask, study and learn. Does anyone here > know if there is such a board (a 'high' volume, daily archive, not just > google groups/usenet) for

Re: More help with my function

2002-02-15 Thread Francis Henry
I always think "what am I getting as the result of the evaluation of this expression?". In this case, you're asking for the evaluation of element zero in array "array", which is a scalar, so $array[0] means (at least to my little brain) "scalar returned from the zeroth element of array "array""

Win32 / SMTP Attachment Question

2002-01-30 Thread Francis Henry
Hi: I am running ActiveState Perl version 5.6.0 on Windows NT 4.0 box (I know, I know, but they didn't ask my opinion). What I'd like to do is send the MIME file I've created with: sub EmailFile { print "Sending Excel file to users...\n";

Re: sendmail error

2001-12-13 Thread Francis Henry
Hi Lance: use Mail:Sendmail; should be use Mail::Sendmail; Have a good day, Francis Lance Prais wrote: > I am using the following piece of code to send email I can not figure out > why it errors out because it worked the other day and now it is not. I have > not changed anything on the syst

Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Francis Henry
New York, NY. Dave Rankin wrote: > Providence, in the tiny state of Rhode Island > > -Dave > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Condolences to US readers

2001-09-13 Thread Francis Henry
Yes, thanks all of you very much. I'm in New York City and my present and former companies have suffered mind-numbing loss. Please keep the victims and their families in your thoughts. It means a great deal to us. There was a chaplain for the NYC Fire Department killed at the World Trade Cente

Re: running CGI on a stand alone machine

2001-07-30 Thread Francis Henry
Hi, Maybe your server thinks it's a document? Possible causes: 1. You've used the wrong extension on your script. Some require the extension to be '.cgi'. 2. Your script isn't in the correct cgi directory, which is usually /cgi-bin. Hope this helps, Francis Prachi Shroff wrote: > Hi, > > I

Re: Learning Perl (3rd Edition)

2001-07-17 Thread Francis Henry
Craig: You might try bestbookbuys.com. Good luck, Francis Craig Westerman wrote: > Amazon and others are back ordered 3 to 5 weeks. Does any know of a online > retailer that has them in stock? > > Thanks > > Craig ><> > [EMAIL PROTECTED] > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For

Re: Problem with llama book script

2001-07-03 Thread Francis Henry
i'm a newbie too, but try this- use slashes instead of backslashes, perl sees backslashes as escapes, so this: open(GRADES, "c:\perl\eg\grades.txt") or die "Can't open grades: $!\n"; should be: open(GRADES, "c:/perl/eg/grades.txt") or die "Can't open grades: $!\n"; lemme know if that helps! Cu

Re: MS-DOS

2001-06-15 Thread Francis Henry
Crystal, At the command prompt, type C:\>PATH > c:\temp\out.txt then open c:\temp\out.txt in a text editor to see if C:\perl\bin (or wherever your perl.exe lives) is in the system path. If not, you will have to include it in the path. Francis Crystal Gruetzmacher wrote: > Once upon a time I

Re: Location.

2001-05-17 Thread Francis Henry
me! RS wrote: > Kind of off topic but, is anyone in this list located > in NYC? > > = > **R.S.** (pronounced R-dot S-dot) > "Look at all the pretty C shells" > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices >

Re: foo bar?

2001-05-16 Thread Francis Henry
actually, ww2 veterans are thought to have originated it. 'fucked up beyond all recognition'. Jos Boumans wrote: > it comes from the vietnam war iirc (watch full metal jacket if you want some > 'insight' ;-) > > it is originally 'fubar' or Fucked Up Beyond Any Recognition (pardon the expletives

Re: Strange chop behaviour

2001-05-01 Thread Francis Henry
Craig, I'm a newbie too, but isn't the function "chomp"? Francis Craig Moynes/Markham/IBM wrote: > A little background. I am running an scp process within a perl script and > redirecting the error to a file (scp_err). I then read in the lines of > this file and attempt to place them in an e