If you need to run bits of code as root try using the product SUGUARD or the
shareware version SUDO
-Original Message-
From: Gary Stainburn [mailto:[EMAIL PROTECTED]
Sent: 05 August 2003 17:00
To: [EMAIL PROTECTED]
Subject: suid problem
Importance: High
Hi folks,
I've got an AIX 4.2 b
On Sat, 9 Aug 2003 00:22:09 -0400 (EDT), perlwannabe wrote:
> I did indeed comment every single
> variable, but deleted it from my sample script for simplicity. I have
> been wrestling with this problem for a while. I did run your code and got
> the following error:
>
> C:\testdir>perl testfile.
Hi there
I just want to know is there any way to find out the PID ans how much a
process is using
the physical and virtual memory, as it is show by the Windows NT task
manager.
Thanks
Biju
_
MSN 8 helps eliminate e-mail viruses.
This code seem to work fine.
open(FH,"listitems.txt") || die $!;
unlink map{chomp; glob "c:/testdir/*$_*.*" } or die $!;
close(FH);
I created files with names that include texts in the listitems.txt file and
they were all deleted except those that doesn't match.
- Original Message -
Fro
On Aug 6, Trina Espinoza said:
>I would like to have the data of <> as one long string. Right now I have
>@list = <> because if I do $scalar= <> it only captures one line of my
>file. However, what I really need is to capture the data as one long
>string. Can anyone deliver a swift answer for th
On Aug 8, Trevor Morrison said:
>Thanks for taking the time to look over my problem. In the end, I did end
>up using your idea on the map ( scalar reverse). It worked like a champ!
Glad it worked for you -- I hoped the whole reversing thing wasn't going
to be too esoteric, but it's surprising h
Jakob Kofoed wrote:
>
> Hi,
Hello,
> I am trying to get the maximum number in a file looking like:
>
> 1 5001
> 2 5002
> 3 5003
> 4 5004
> 5 5005
> 6 5006
> 7 5007
> 8 5008
> 9 5009
> 10 5010
> 11 5011
> 12 5012
> 13 5013
> 14 5014
> 15 5015
> 16 5016
> 17 5017
On Thu, 7 Aug 2003 23:39:02 +0200, [EMAIL PROTECTED] (Awards) wrote:
>Hi,
>
>maybe i'm using the wrong module, but that is why i'm here asking.
>I have downloaded a message with an jpg attachment fine.
>But what i want to learn is that we have in the attachment the ugly code.
>So I'm on my windows
Thanks!
After sending my question I found in a website the topic of 'private' methods,
and shows code like this:
my $method_name = sub {
my $this = shift;
_blablabla_
};
And to access it :
$this->$method_name("Arg1");
Now, this it really works for 'private' methods?
Thanks!
--
Pa
On Aug 8, Gupta, Sharad said:
>I have a bunch of scripts which calls a sub from a module, and that
>module in turn would call another sub from someone else and so on.
>Skimming through them is driving me crazy.
>
>Is there a way i can trace the calling of the routines till N levels.
Using the cal
Beginners,
I'm about to write my first Perl script that will function to send this page. When
the user clicks 'send this page' button I'm going to open a script generated html page
called /send_this_page.pl where the user can fill out the email address(es) to send
the page to.
I think I have
I want in.txt and out.txt file to be same.
That is I want to replcae text insa me file and do not want to create a new
file.
Thanks,
Vinay
- Original Message -
From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
To: "Vinay Thombre" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, Aug
Ramprasad wrote:
Can someone send me some examples on how to
send multipart alternative mails using MIME::Entity
Check the distribution's examples, for instance:
http://search.cpan.org/src/ERYQ/MIME-tools-6.200_02/examples/mimepostcard
If that doesn't provide enough, what have you tried? Where ar
Disregard I had an extra space after the glob $file
part once I made it (glob $file) instead of (glob
$file ) it worked. Odd very odd.
--- Quenten Griffith <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> For somereason I have a bit of code that will not
> write out to the log file when it finds my ar
On Saturday, August 9, 2003, at 06:35 PM, awards wrote:
Hi,
Hi.
Here's your connection failure. The error is pretty clear. You need
to provide the necessary credentials to the server, either via SMTP
auth or POP-before-SMTP.
Net::SMTP=GLOB(0x8246190)>>> RCPT TO:<[EMAIL PROTECTED]>
Net::SMTP
On Fri, Aug 08, 2003 at 10:49:39PM -0700, Gupta, Sharad wrote:
> sub Foo::INC {
> my ($self,$filename) = @_;
> my @paths = "http:/me.com";
> my @urls = map{$_ . "/" . [EMAIL PROTECTED];
> my $ua = LWP::UserAgent->new();
> foreach my $url(@urls) {
> my $request = HTTP::Re
Bryan Irvine wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > Assuming there is only one set of brackets on a line, and you only
> > want the IP address between them, and READLOG is an open handle to
> > your log:
> >
> > - Not Tested -
> > my @ips;
> > while (my $line = ) {
> >if ($line =~ /\[(.*
On Wed, 06 Aug 2003 11:58:53 -0800, [EMAIL PROTECTED] wrote:
> Depending on what I'm installing or runing I'm getting this message,
> for example running test MD5 gives:
> Can't locate object method "new" via package "MD5" (perhaps you forgot
> to
I am trying to run a perl script that is not usually
run in my environment, but I received the message
below. I need to understand how to change the @INC
path such that it points to the verson of perl that
supports warnings.pm.
Can't locate warnings.pm in @INC (@INC contains:
/usr/perl5/5.00503/su
19 matches
Mail list logo