On Aug 12, 2005, at 2:06 AM, David Dorward wrote:
If a directory is password protected with .htaccess
...
or do you always get the popup box?
I'm guessing you are talking about Basic Authentication here. A
.htaccess file can contain pretty much any Apache directive, so it
could be
Well, I seemed to have cleaned up my insecure errors, and now get a
LOCATION: connected
ERROR: install_driver(Oracle) failed: Can't load
'/opt/perl5/lib/site_perl/5.8.5/PA-RISC2.0-LP64/auto/DBD/Oracle/Oracle.s
l' for module DBD::Oracle: No such file or directory at
Hi all,
I'm trying to clear a cookie using CGI::Cookies, and
can't seem to do it :(
if ($clear_cookie eq 'yes') {
my %cookies = fetch CGI::Cookie;
print getting cookiebr;
if ($cookies{'id'}) {
print clearing cookiebr;
$cookies{'id'}-expires('-1s');
Denzil Kruse wrote:
Hi all,
I'm trying to clear a cookie using CGI::Cookies, and
can't seem to do it :(
if ($clear_cookie eq 'yes') {
my %cookies = fetch CGI::Cookie;
print getting cookiebr;
if ($cookies{'id'}) {
print clearing cookiebr;
Hi,
It seems that whatever software manager an operating
system has, still, programs installed manually from
their sources are difficult to removed. Do you have a
script that will accomlish this job without further
hassle?
Thanks
I have these following arrays :
@employees = (); # has 1000 elements
@managers = (); # has 100 elements
@staffs = (); # employees - managers
I have @employees and @managers in hand, what is the most efficient ways
to print @staffs?
So far this is what I've done.
...
foreach my $emp
On Tue, 16 Aug 2005, Nath, Alok (STSD) wrote:
Can anybody send me some pointers for reading an HTML file and
then creating an excel file ?
Basically what I want to do is read the data in the HTML file and then
create and MS-Excel out of it.
I bet you could write a Perl script that
Beast wrote:
As you can see, the step will increase as the number of manager increase.
Sorry, it should be:
foreach my $emp (@employees) {
foreach my $mgr (@managers) {
if ($mgr eq $emp) {
print $emp is Manager\n;
next;
}
print $emp is Staff\n;
}
Beast am Dienstag, 16. August 2005 13.29:
I have these following arrays :
@employees = (); # has 1000 elements
@managers = (); # has 100 elements
@staffs = (); # employees - managers
I have @employees and @managers in hand, what is the most efficient ways
to print @staffs?
So far this is
How can I do this correctly?
foreach my $col (@columns) {
my %{$col} = (
string = $col,
number = [EMAIL PROTECTED]
);
push (@graph, \%{$col});
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Ryan Perry mailto:[EMAIL PROTECTED] wrote:
: How can I do this correctly?
:
:
: foreach my $col (@columns) {
:my %{$col} = (
: string = $col,
: number = [EMAIL PROTECTED]
: );
:push
On Monday 15 August 2005 22.47, Ryan Perry wrote:
How can I do this correctly?
foreach my $col (@columns) {
my %{$col} = (
string = $col,
number = [EMAIL PROTECTED]
);
push (@graph,
This is not a beginners question. This is a free script question. Try
looking for a free script list.
-Original Message-
From: Harold Castro [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 16, 2005 1:18 AM
To: beginners@perl.org
Subject: A sript to delete programs installed from
Hi All,
I'm currently running ActiveState's Active Perl 5.8 at work on WinXP. I'm
getting a new machine (WInXP) in a couple of weeks and I was curious if
anyone knows how I can list the modules that I have installed. This
directory C:\Perl\site\lib\ppm-conf has a lot of PKG files, which I
Brian,
I don't think you can differentiate between what came out-of-the-box
and what you had installed on your own as there isn't an XML tag or
attribute that I am aware of that would capture this information in
PPM.xml file.
That much said, this is what I think you are looking out for.
# Rex
-Original Message-
From: Rex Rex [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 16, 2005 2:12 PM
To: Brian Volk
Cc: Beginners (E-mail)
Subject: Re: which packages are installed?
Brian,
I don't think you can differentiate between what came out-of-the-box
and what you had
I currently have this issue I can't seem to get to work correctly or
more like at all.
I'm looking at a string say:
(one,two,three) word,word2,word3,word4
When I split this string using the comma, it splits the ones in parens as well.
(one,two,three) word - this line should only be one
Scott Pham wrote:
I currently have this issue I can't seem to get to work correctly or
more like at all.
I'm looking at a string say:
(one,two,three) word,word2,word3,word4
When I split this string using the comma, it splits the ones in parens as
well.
(one,two,three) word - this
Nevermind I think I figured it out :)
On 8/16/05, Scott Pham [EMAIL PROTECTED] wrote:
I currently have this issue I can't seem to get to work correctly or
more like at all.
I'm looking at a string say:
(one,two,three) word,word2,word3,word4
When I split this string using the comma,
Thanks John, this solution is much better :)
On 8/16/05, John W. Krahn [EMAIL PROTECTED] wrote:
Scott Pham wrote:
I currently have this issue I can't seem to get to work correctly or
more like at all.
I'm looking at a string say:
(one,two,three) word,word2,word3,word4
When I
Hello Listers
I'm getting the following error when executing the function listed below...
cimagedisp_new.cgi: Use of uninitialized value in hash
element at /.../cimagedisp_new.cgi line 238, FILE line 69.
223 #-
224 # Build a hash
Hi,
Need some help with a regex please.
I need to search a file for every instance of a string that ends with %.
Think output from the df command. I need the 1, 2 or 3 digits before the %
passed into the array.
Code:
#!/usr/bin/perl
use warnings;
use strict;
my $outfile2 = XXX.dat;
Tony Frasketi wrote:
Hello Listers
Hello,
I'm getting the following error when executing the function listed below...
It is a warning not an error.
cimagedisp_new.cgi: Use of uninitialized value in hash
element at /.../cimagedisp_new.cgi line 238, FILE line 69.
perldoc perldiag
Just for starters, a regular expression should use the =~ operator, not
the = operator.
You might have seen some examples like this:
while(INFILE){
if($_ =~ /mybigregularexpression/){
Do something...
}
}
Check out 'perldoc perlre'.
-Original Message-
From: Keenan, Greg
Hello Listers
I'm getting the following error when executing the function listed below...
cimagedisp_new.cgi: Use of uninitialized value in hash
element at /.../cimagedisp_new.cgi line 238, FILE line 69.
223 #-
224 # Build a hash of
Keenan, Greg John (Greg)** CTR ** wrote:
Hi,
Hello,
Need some help with a regex please.
I need to search a file for every instance of a string that ends with %.
Think output from the df command. I need the 1, 2 or 3 digits before the %
passed into the array.
Code:
#!/usr/bin/perl
On Tue, 16 Aug 2005, Timothy Johnson wrote:
This is not a beginners question. This is a free script question. Try
looking for a free script list.
To be fair, this *is* a real problem.
The thing is, like many real problems, it has already been solved.
Repeatedly.
The tool that Harold is
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
while(DATA2) {
my @oput2 = /(\d+)%/ or next;
print XXX @oput2 XXX\n;
}
Thanks John, that's solved it. I'll read up on next.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
[ message rearranged in chronological order. Please do not top-post ]
Timothy Johnson wrote:
From: Keenan, Greg John (Greg)** CTR ** [mailto:[EMAIL PROTECTED]
snip
my @oput2 = /\b([0-9]+)%/;
snip
Just for starters, a regular expression should use the =~ operator, not
the =
John W. Krahn wrote:
[ message rearranged in chronological order. Please do not top-post ]
No. If I'm responding to a message in this format, I'll use this format, but
there's nothing illegitimate about top-posting. It is the email format that
most of the world follows, using Outlook or
30 matches
Mail list logo