The -T won't work of the data can be uuencoded.
/kk
On Thu, Dec 06, 2001 at 09:06:19AM -0800, Ray Murphy wrote:
Hello,
Want to make sure I'm not missing anything here. My
task is to see if a file looks like it's encrypted.
I'm splitting the path/filename/extension via
File::Basename and
This would be the rough pseudocode (a very rudimentary one).
$SIG{ALRM} = sub { exec (self) };
alarm (2 mins);
do stuff;
There is a race between the alarm and do stuff. How it would affect your
program, you can judge better
/kk
On Thu, Nov 29, 2001 at 08:25:58AM -0500, Bob Showalter wrote:
On Thu, Nov 29, 2001 at 03:16:04PM -0500, Ken Hammer wrote:
Hi all,
I have a script that goes out and grabs
a specific HTML page. I then search through
the page, gathering the info I want.
Sometimes, the site I'm hitting is either
bogged down or unresponsive. I'd like to
include a
Hello list,
I have a scalar variable that can contain either 0, 1, or 'any_str'
and I need to take different decision depending on the value. 'some_str'
automatically gets converted to 0, when compared to an integer. If I
decide to change the allowable values to 1, 2, 'any_str', if
the #!/file/to/interpreter
line is not specific to perl, but to unix. so look for
something else under windows.
/kk
On Sat, Nov 17, 2001 at 03:57:25AM -0800, Karthik wrote:
My Problem:
I run a web server(PWS) on a Windows 98 machine. My
perl.exe(perl interpreter) is located in
i am from india too
/kk
On Fri, Nov 16, 2001 at 09:21:11PM +0530, Kilaru Sambaiah wrote:
Hi,
I am from Chennai city located in India.
regards,
Sambaiah Kilaru
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe,
postfix is a drop in replacement for sendmail. as such the sendmail commandline can
still be used for delivering mails. Qmail has also been coded with security in mind.
However
(this is not thro personal experience), postfix seems to be quicker than qmail as far
as
queueing is concerned. Also
hullo list,
this was posted on bugtraq recently. should be of help here too.
http://www.seifried.org/security/www-auth/
Paper on WWW Authentication
/kk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
sub foo {
my @this_array = ( one, two, three );
bar ( @this_array );
}
sub bar {
my @that_array = @_;
}
So I'd pass a reference instead:
sub foo {
my @this_array = ( one, two, three );
bar ( \@this_array );
}
sub bar {
my $that_array = @_;
Problem. It
the correct way would be to form a small grammer and parse it. there is an article on
using Parse::RecDescent for parsing.
however this seems really trivial. you can handcode it easily.
for example something like
sub tokenize
{
until (defined ($token = shift (@tokens)) {
wouldn't it be better to check ARGV to see if arguments have been passed. if so use
that as
input. else read on STDIN.
/kk
On Tue, Aug 21, 2001 at 12:10:22PM -0800, Michael Fowler wrote:
On Tue, Aug 21, 2001 at 03:44:05PM -0400, Andrew G.McArthur wrote:
squareroot 100 1000 25
cat
a while ago i had asked the same question (or one on similar lines). my specific need
was
error handling for modules to be used by somebody else. in such cases die/eval can
become
very cumbersome.
error handling can be designed after two streams of logic:
1) error to be handled where the error
As an aside ^] needs to be handled by the telnet client itself.
/kk
On Thu, Aug 09, 2001 at 01:21:49PM -0700, Atul Vohra wrote:
Hi,
I am using Telnet.pm module where I telnet to a router successfully. Now, I would
like to send some control characters like ctrl]. Is there a way to send octal
set a SIGALRM handler and an alarm for 5 minutes. set a flag from the handler.
do the parsing only if the flag is set.
/kk
- Original Message -
From: Yacketta, Ronald [EMAIL PROTECTED]
To: Beginners (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, August 08, 2001 5:43 AM
Subject: a
Gnome has nothing specifically to do with Linux. It is a window manager and can be run
on top
of other OS that run some form of X too. Solaris for instance. most *nix users tend to
use very
little of GUI inspite of very GUIsh managers available. what you could do is write to
the
authors, team
you seem to be using a SUN SPARC. A bus error is often induced on these architectures
when pointer
access is not aligned on word boundary.
whether this is caused by the Perl binary itself or the script i don't know
/kk
On Tue, Jul 31, 2001 at 04:39:54PM +0530, Narendran Kumaraguru Nathan
HELO, EHLO need the domain you are connecting from
kat@graf-spee:~$ telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 graf-spee.hn.extremix.net ESMTP Sendmail 8.11.3/8.11.3; Tue, 31 Jul 2001 08:17:58
+0530
helo
501 5.0.0 helo requires domain
correction.
doesnt seem to work on the linux box. ftpd seems to unlink the existing file.
i cant see how this producer/consumer problem can be solved without getting the
producer to co-operate.
the problem here is that the ftp daemon writes to the file. unless he hacks
the code there is no
man nice. perl doesn't seem to have a nice function. so you might have to invoke
the nice system call. you could also take a look at setpriority (linux, *BSD, SYSV
should
support it too). using it you can alter the scheduling priority of a process, children.
/kk
On Wed, Jul 04, 2001 at
the problem here is that the ftp daemon writes to the file. unless he hacks
the code there is no way he can make the ftpd honour whatever locking protocol
he chooses. EXCEPT for mandatory locking. this is enabled for a file by setting
the set GID bit, and clearing the group exec bit.
chmod 2640
this is what i understand from your mail.
you need your main code to keep running, while servicing I/O from the netstat FH (or
for that
matter, any FH).
Michael has already suggested pre packaged options, that should be able to help you
out.
however if you want to roll out your own code
dunno about the select module, but a normal call to select will block.
that is why in my other mail i had given you the option of blocking on
select in another thread/process
/kk
On Fri, Jun 29, 2001 at 12:36:20PM -0400, Ronald J. Yacketta wrote:
Maybe I just don't understand..
but wont there
Cobalt RaQ runs apache as root so that their front-end can run with root
perms. You could use cgiwrap for the same effect, i suppose. there is also
webmin, which runs with root priveleges. but webmin has its own httpd server
coded in perl (thereby reducing the chances of buffer overflows and
the code that i sent you should be able to do that.
/kk
On Thu, Jun 28, 2001 at 09:51:19AM -0400, Ronald J. Yacketta wrote:
Folks,
to make a long story short I have a req to-do the following.
1) gather continues data from netstat -I hme0 $SLEEPTIME $netstatTMPFILE
while still parsing
i dont think perl has a syslog function. you could pipe the message to
logger though. a better way would be invoke the system call syslog.
/kk
On Sat, Jun 23, 2001 at 08:07:53AM -0400, Ryan Gralinski wrote:
How do i use perl to log to syslog ?
as a kernel message that comes out in syslog, and
On Wed, Jun 20, 2001 at 03:01:00PM -0500, Abdulaziz Ghuloum wrote:
Hello Ron and everybody on this list.
In order to find the best way to complete the task the fastest way, you need to
first analyse your system and how it's going to react to your algorithm.
Basically your task can be split
from what little i know of parsers, most lexical analyzers (the part
that recognizes tokens and such) are designed to ignore comments (just
speculation). the whole file is read into the OS buffer cache, comments and
all, when the perl interpreter/compiler starts to read the file. but that
On Sun, Jun 17, 2001 at 10:32:16PM -0400, Ronald J. Yacketta wrote:
Folks,
Can someone shed some light on the ability to kick off simultaneous process
at once within perl. I would like to kick off two system level commands at
the same time, as I mentioned before I am populating 2 arrays
On Thu, Jun 14, 2001 at 01:51:29PM -0500, [EMAIL PROTECTED] wrote:
i am running through a series of if/elsif checks on a variable:
if (($add_alias) ($add_destination) (!$selection)) {
if ( $add_alias =~ /[^\w\.\-]/ ) {
} elsif ( $add_destination !~ /\@/ ) {
} else {
in that case shouldnt both scripts unable to access that environment variable ?
On Wed, 13 Jun 2001, Hasanuddin Tamir wrote:
On Wed, 13 Jun 2001, Kevin Hancock [EMAIL PROTECTED] wrote,
I have two scripts both on the same server, both in the same directory
even. One has access to the
would help if you could post the kernel version, any other log messages that
you might think would be helpful. the version of apache etc. in my limited
knowledge perl scripts on their own cannot cause kernel panic, unless the
kernel had a bug which is accidentally being exposed by perl.
/kk
p.s
apache also has directives to restrict env variables passed to cgi scripts.
search for something like UnsetEnv in httpd.conf.
search for the directives that match direcories in which both the scripts
reside. something sould turn out.
/kk
On Wed, 13 Jun 2001, Kevin Hancock wrote:
my
On Wed, 13 Jun 2001, [EMAIL PROTECTED] wrote:
Thanks for pointing me in a better direction. I used this ...
$now = time;
utime $now, $now, @files; # sets access and modification time
... and expanded it to this ...
$now = time;
print $now;
@meters = (test0612d.shtml);
with use strict and use warnings putting the hash outside function_one as a
lexical or global both seem to work. Even making the hash inside function_one
a global seems to generate a warning if use warning is in effect. so putting a
function inside another seems to be no different from have it
34 matches
Mail list logo