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
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
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
--
__
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]
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]
oment is http_referer
Any ideas would help
Anthony
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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]
different
values.
Any help is appreciate
Anthony W.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
--
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:
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
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
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
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."
16 matches
Mail list logo