How to print a string that uses variables and operators

2003-06-05 Thread deborah
How do you get Perl to print an operator as a string? I want to print a mathematical expression and then print the answer. I've tried every combination that I can think of, but the script keeps getting aborted "due to compilation errors" because "string found where operator expected." Well, yea

Re: How to print a string that uses variables and operators

2003-06-05 Thread deborah
Thank you! The separating comma was what I was leaving out. Also, I wanted to actually print the variable name, so I escaped the $ symbol. Deb On Wednesday, June 4, 2003, at 12:00 PM, James Edward Gray II wrote: On Wednesday, June 4, 2003, at 11:47 AM, deborah wrote: Example: I want to print

Strings and operators?

2003-06-14 Thread deborah
didn't give me an error since I used the wrong type of operator. What is it doing in this case? Thanks, Deborah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

beginner "if statement" question

2003-06-14 Thread deborah
printout that says: 'howard' is a valid password. Thank you again, Deborah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Getting started in Perl for OSX

2003-10-01 Thread deborah
d see perl working. Let me know if that's not what you need. --Deborah On Wednesday, October 1, 2003, at 04:57 AM, Dillon, John wrote: I got an iBook recently with OSX 10.2.4. It's UNIX based. Allegedly 10.1+ has Perl pre-installed but I couldn't find it. So I've downloa

Filehandle error using Strict

2001-09-05 Thread Deborah Strickland
Hi all, I've had this question for quite a while and can't find any reference to it in any of my many Perl books. I want to use the 'strict' command but whenever I do it always causes an error on any file handles I have used. I always declare everything but have never seen a filehandle declared be

using Strict with filehandles

2001-09-05 Thread Deborah Strickland
? This fails. use strict; open (FN, $someFile); This works: open(FN, $someFile); In both cases, FN is not defined. When I try to define it with 'my $FN' I still get an error with strict. What's the proper way to define this? Thank you, Deborah -- To unsubscribe, e-mail: [EMAIL

Context Sensitive Help?

2004-07-07 Thread Deborah Dominey
whatever I need (usually concerning websites and interactive documentation). Also-- what does the Help window look like? Is it a pop-up window, with expandable menu topics like JavaHelp and RoboHelp? Thanks, Deborah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

test

2003-11-20 Thread Deborah Dominey
Sorry about the posting. I haven't recieved any posts from this group today, so I'm testing. --Deborah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help with end-time start-time sorting problem

2003-01-09 Thread Scott, Deborah
I have a txt data file that has several fields. Two of the fields are start time and end time (listed in epoch time). I need to write a perl program that finds (and prints) events that occur between midnight "last night" and "midnight tonight." First problem: The date for midnight "last night" a

RE: Help with end-time start-time sorting problem

2003-01-09 Thread Scott, Deborah
Here's the txt file. Thanks! -Original Message- From: Wagner, David --- Senior Programmer Analyst --- WGO [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 2:32 PM To: Scott, Deborah; [EMAIL PROTECTED] Subject: RE: Help with end-time start-time sorting problem

RE: Help with end-time start-time sorting problem

2003-01-09 Thread Scott, Deborah
Yes, I think so. THANKS! This is a great fantastic group. Glad I found it. >Have got what you need yet? >Wags ;) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Epoch midnight

2003-01-10 Thread Scott, Deborah
I thought I understood the answer, but I need more details. What exactly would I enter if I want a program to find the epoch time for midnight each night? I know how to find "current" time and date in both "human" time and epoch time. I want to generate a report that displays the events that are

RE: used sendmail to send an attachment

2003-01-24 Thread Scott, Deborah
Wow, this is kinda freaky Usually my perl email goes directly into a "perl" mail directory, but your two emails just popped into my work-inbox. I was just now starting to test a script for sending mail that works perfectly on a unix machine, but isn't working correctly on an NT server. That's

Email function question

2003-01-24 Thread Scott, Deborah
an email to [EMAIL PROTECTED] Thanks, --Deborah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Email function question

2003-01-27 Thread Scott, Deborah
t; ; print MAIL "Subject: Email Message\n\n" ; AND THEN I've put the closing brackets in multiple places... but I get the error that NO RECIPIENT is specified. Sent to dead letter file. It works if I only specify one addressee. Help, again??? --Deborah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Email function question

2003-01-28 Thread Scott, Deborah
;t seem to work on NT. (The UNIX machine has no problem reading and printing the entire txt. file.) THANK YOU! Someday I'll know enough Perl to help somebody else on this group. --Deborah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to display dir contents on web page?

2003-02-19 Thread Scott, Deborah
Does anyone know where I can get a script that looks into the contents of a directory and outputs the contents of the directory into a list that is displayed on an HTML page? (Also, the names should contain hyperlinks to those contents.) Or, how would I do this? Thanks! Deborah

RE: How to look into every subdirectory

2003-03-05 Thread Scott, Deborah
7;m a real beginner at Perl, but my job has suddenly starting requiring lots of perl scripts!) --Deborah (I asked this question a while back, but my email messages got messed up and I can't find the answer that I got.) -Original Message- From: Beau E. Cox [mailto:[EMAIL PROTECTED] Sen

Sorting files by date created and creating an HTML list?

2003-03-31 Thread Scott, Deborah
out the date, but I haven't figured that out yet.) Thanks!! Deborah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]