G'day...
If a sublass has overrides a method in a superclass, and the subclasses
method calls the superclass's method, is there any mechanism to detect
that the superclass' method has been overridden?
I'm wanting to write a method in an abstract class that must be
overriden by it's children. If
> [Wed Nov 24 11:00:28 2004] Plotting graph of TCP accesses.
> /usr/bin/perl: error while loading shared libraries:
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/GD/GD.so:
> undefined symbol: gdFontGetSmall
>
> # nm /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/GD/G
Hello All,
I am trying to use squid-graph tool.
http://squid-graph.securlogic.com/files/
Execution of perl script makes,
# ./squid-graph --output-dir=/tmp/test/ <
/usr/local/squid25s7/var/logs/access.log
WARNING: Are you sure you want to output your files to "/tmp/test"?
Continuing
Hi,
Replace
$output = ~ s/AAA*?BBBt/AAA 111 *?222 BBB/g;
with
my $output =~ s/AAA*?BBBt/AAA 111 *?222 BBB/g;
You can use "perl -c " which will show you such type of errors.
After opening the output file, it's better to check if the file is
opened successfully(as done in the case of INPUT).
I thin
You're right... An attempt to execute `$self->{DBFields}->{$field} = ""`
results in the error "Not a HASH reference at line x"
Regards,
Michael S. E. Kraus
Software Developer
Wild Technology Pty Ltd
___
ABN 98 091 470 692
Level 4 Tiara, 306/9 Crystal Street, Waterloo
G'day...
When using
our %Super_DB_Object = (
TableName => "",
DBFields => {},
NotNull => [],
);
Make sure you remove:
my $field_hash = {};
$self->{DBFields} = $field_hash;
And try accessing the hash directly.
If you don't see what I mean then, let me know - as a complet
G'day...
These lines look wrong (but I may be wrong):
> $exit_status = `dir` ;
> print "\nCurrently in -
> >\n$exit_status\n==\nDepth
> ($depth)\n" ;
Shouldn't that be: $exit_status = `pwd`;
Also, check out the glob function - it'
Michael Kraus wrote:
our %Super_DB_Object = (
TableName => "",
DBFields => {},
NotNull => [],
);
---CUT---
However, when I do that, I get the error: "Odd number of elements in
hash"
That code does not generate the warning message you mention. Please copy
and post a short bu
G'day all...
I've got a hash:
---CUT---
our %Super_DB_Object = (
TableName => "",
DBFields => undef,
NotNull => [],
);
---CUT---
...and later (in a function) ...
---CUT---
my $field_hash = {};
$self->{DBFields} = $field_hash;
---CUT---
(Where the hash has been aliased t
I have been working on thie script to take MVS JCl/Proc's and bring
them together in a single output. I parsing out the DSN ( data file name ) and
then attempting to determine if input, output or delete.
Here is the code ( quite large unforunately ).
I have the data in
Hi,
The code below opens a file and writes the contents to a temporary file. I need
to do a search and replace of certain matches in the files and I thought I
might be able to use regular
expressions.
Being new to perl and now trying expressions has almost put me over the edge.
When I run the
I had a similar problem running my perl script in cron. Finally it
turned out to be a problem with profile. At our end there is a profile
script that gets executed whenever we open a Shell prompt. When I got
that to run before my script it started working fine. Also try giving
the explicit path to
also,often its easy to forget cron.allow and cron.deny files being
updated. Make sure u've right access & crontab -e (for user specific)
may also help to test ur script locally.
May be you should check with the cron/crontab tweakins than Perl list. :)
On Tue, 23 Nov 2004, Larsen, Errin M HMMA/IT
> -Original Message-
> From: Mauro [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 23, 2004 3:44 AM
> To: [EMAIL PROTECTED]
> Subject: How to monitor a scritp
>
>
> Hi all,
> I made a script that works fine.
> When a try to run it in crontab it seems it doesn't work.
> It makes an em
> I know I can use the "find.pm". But, I'd like to know why the recoursive
> I did is wrong.
There are no debug print statements in your code. There are also a lot
of 'next' statements, which always make me suspicious. See comments in
chopped-up code below.
Good luck,
Dave
> == Start of code
[sn
Hi there all,
I'm writing a simple script to batch convert word documents into HTML.
However, I need also to disable the impossibly stupid "Smart Tags" that get
embedded. The VBA macro below contains the important lines ( .EmbedSmartTags
= False, .LabelSmartTags = False). Could anyone give me
On Tue, 23 Nov 2004 09:44:00 -0500 (EST), Chris Devers wrote:
>On Tue, 23 Nov 2004, FlashMX wrote:
>
>> I'm trying to do this script on my own as suggested by someone in this
>> group.
>
>Glad to hear it :-)
>
>> I'm getting confused on the login.
>
>I don't see where the program or the problem de
On Tue, 23 Nov 2004, FlashMX wrote:
> I'm trying to do this script on my own as suggested by someone in this
> group.
Glad to hear it :-)
> I'm getting confused on the login.
I don't see where the program or the problem description involves
logging in to anything -- is that really what you me
I'm trying to do this script on my own as suggested by someone in this group. I
have the book "Teach yourself Perl in 21 days" So far I've been able to open
the file and execute a grep to search
for certain text and then display the hits.
I'm getting confused on the login. I need to open the o
Hi ,
You do not need a atoi function in Perl. All the strings can be used as a
number based on the context.
for example
$str1 = '50';
$str2 = '2';
$sum = $num1 + $num2; # sum is now 52
$str_cat = $num1.$num2; #str_cat is 502
HTH,
Chetak
-Original Message-
From: A Madhusudan-A532
On Mon, 22 Nov 2004 09:29:04 -0500, Bob Showalter
<[EMAIL PROTECTED]> wrote:
> Ramprasad A Padmanabhan wrote:
> > I am using Net::Telnet in one of my perl scripts. Problem is every
> > time it runs with use warnings It prints out warnings like
> >
> > Unrecognized escape \s passed through at ...
On Tue, 2004-11-23 at 12:24, Rene Borchers wrote:
Yes, problem solved added the line
'User-Agent' => 'Mozilla/4.76 [en] (Win98; U)';
and indeed 33200 returned thanks
Rene
> Hi,
>
> I'am fiddling around with the LWP Class, wrote myself a program which
> sends a query to altavista.
>
> When
I sent it again, since I didn't got a reply that satisfy me.
I know I can use the "find.pm". But, I'd like to know why the recoursive
I did is wrong.
Thanks,
Eli.
-Original Message-
From: Eaton Elyahu Doron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 9:44 PM
To: [EMAIL P
Rene Borchers [RB], on Tuesday, November 23, 2004 at 12:24 (+0100)
wrote these comments:
RB> When I search altavista for dummie it returns 33.200 hits, when I use
RB> perl it returns 33,100 hits. Any suggestions where are the 100 missing
RB> hits.
I can't simulate it right now, I did similar thin
Hi,
I'am fiddling around with the LWP Class, wrote myself a program which
sends a query to altavista.
When I search altavista for dummie it returns 33.200 hits, when I use
perl it returns 33,100 hits. Any suggestions where are the 100 missing
hits.
Rene
#!/usr/bin/perl
##-
Ing. Branislav Gerzo <[EMAIL PROTECTED]> wrote:
> Mauro [M], on Tuesday, November 23, 2004 at 10:44 (+0100) wrote:
>
> M> I made a script that works fine.
> M> When a try to run it in crontab it seems it doesn't work.
>
> it is maybe path related problem. Try tu run exactly that
> script as in
Mauro [M], on Tuesday, November 23, 2004 at 10:44 (+0100) wrote:
M> I made a script that works fine.
M> When a try to run it in crontab it seems it doesn't work.
it is maybe path related problem. Try tu run exactly that script as in
crontab, but be in other directory, where script, or crontab run
Hi all,
I made a script that works fine.
When a try to run it in crontab it seems it doesn't work.
It makes an empty output log.
I checked for correct path in external command I run into script because I know
crontab hasn't got any environment variable but pheraps I forgot to check
something...
H
28 matches
Mail list logo