RE: unlink help.

2003-10-29 Thread Anthony Bhagwandin
Here is one way, there are probably more elegant ways out there: opendir DIR,"/home/path/to/dir"; @list = readdir DIR; foreach $file (@list) { unlink $file if $file =~ m/\.bak$/; } closedir DIR; -Original Message- From: Sara [mailto:[EMAIL PROTECTED] Sent: October 29, 2003 1

Re: unlink help.

2003-10-29 Thread Anthony Saffer
Sara, You're unlink() statement is correct and should work fine. What errors, if any, are you getting? Anthony - Original Message - From: "Sara" <[EMAIL PROTECTED]> To: "beginners-cgi" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday

Re: Perl CGI Newbie

2003-06-29 Thread Mark Anthony Sioting
te to my text file. No errors were reported on the html output. Thanks a lot for showing me the way to debug. Now, I can move on to the next lesson with confidence... Any books u may recommend? or articles or tutorials? Thanks, Mark Anthony C. Sioting -- __

Re: http_referer question

2003-06-27 Thread anthony
you join they put a picture with a code it in for you to make sure it is a human who is joining not a machine. Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: http_referer question

2003-06-27 Thread anthony
Hi. I have an idea, if someone creates an external program to overload my database, How do i prevent that, if all the fields are correct? Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

http_referer question

2003-06-26 Thread anthony
oment is http_referer Any ideas would help Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple checkboxes

2003-06-01 Thread anthony
Hi, well thank you, I also found thsi $value=param_fetch('name')->[$counter]; I think i will use this, because i'm going to put all answers in a hash. $HASH{$name}->[$counter]=$value. Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Multiple checkboxes

2003-05-31 Thread anthony
it is possible to get those multiple checkbox values. Any help is appreciated, Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

checkbox

2003-05-31 Thread anthony
different values. Any help is appreciate Anthony W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Confusion on @array vs $array[] vs $array

2002-12-19 Thread Anthony Early
And, for increased flexibility (strict/warn OK) my @array = ( 10,20,30,40); my %array = @array; my %hash = (1,2,3,4); my @hash = %hash; print "Array Element \$array[1] = $array[1]\n"; print "Hash Element \$hash{'1'} = $hash{'1'}\n"; print "Array Hash Element \$array{'10'} = $array{'10'}\n"; p

Perl/cgi question

2002-11-17 Thread Anthony Barkley
run the script "change" with "pod" as a parameter. I would like for my perl program to do that! My perl program already captures the pod paramater but I cannot figure out how to get perl to call the file ./change and pass it the "pod" paramater! Thx Anthony --

sending an email attachment

2002-11-08 Thread Anthony E.
hello, i need to write a program that will send an email with some text in it as the body, and also have a word document attached to it. any suggestions on a module to do this? __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http:

Re: replacing text in a file

2002-10-09 Thread Anthony E.
my $line = 'UPDATED="06/18/2002 18:42:25"'; $line =~ s/"(.*?)"/"NOT APPLICABLE"/sig; try this. --- "Egleton, Gary" <[EMAIL PROTECTED]> wrote: > Hi, > > can you help a begnner with this?? > > I have a file with the following repeated several > times. The date and time > will vary. > > UPDATED

remove elements in one array from another...

2002-09-05 Thread Anthony E.
ie - i have two arrays (lists): @hrefs: a list of urls.. and @banned, and list of bad urls. I want to remove the @banned urls from @hrefs. How would i do this? __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com

sendmail command line (without queuing)

2002-08-27 Thread Anthony E.
i want to send an email with sendmail from my perl script without queueing the email. What's the command line? Thanks, Anthony __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e

newbie: data structures

2002-07-24 Thread Anthony E.
How would I store (and access) a table of information...assuming there is a unique key 'email'...ie - These are the column names: email firstName lastName phone address1 "[EMAIL PROTECTED]" "Joe Blow" "415-555-" "123 Mayberry" "[EMAIL PROTECTED]" "John Doe" "619-555-5551" "456 Happy Ln."