Hi,
I want to change the ownership of my perl script through my
script.Currently it is root .I want to change it to apache.
I am using system("chown apache:apache simple.pl");
Simple.pl is the name of my perl script
Can anyone help me out?
Thanks and Regards,
Manasi Bopardikar|s/w Engi
After getting some sleep (definitely the smartest thing I did) and (then
looking at your code sample again)
On Thursday 18 September 2008 04:28:07 am Dr.Ruud wrote:
> > my $oldfile = $ARGV[0];
After I adjusted the RE content /^([ in here ]+)$/
> my ($oldfile) = $ARGV[0] =~ /^([a-z]+)$/;
> di
Manasi Bopardikar <[EMAIL PROTECTED]> asked:
> I want to change the ownership of my perl script through my
> script.Currently it is root .I want to change it to apache.
>
> I am using system("chown apache:apache simple.pl");
>
> Simple.pl is the name of my perl script
See "perldoc -f chown"
On 9月19日, 下午12时19分, [EMAIL PROTECTED] (Jeff Pang) wrote:
> 2008/9/19 Phillip Pi <[EMAIL PROTECTED]>:
>
>
>
> > Thank you, but I don't see anything about hardcopy books.
> > --
>
> Well, I think you should buy the book "learning Perl" which is
> suitable for both unix users and windows users, since
Hello,
Is there a way to append a text file to an existing text file.
For example,
File A:
Jan Feb Mar April ...
File B:
10 30 40 20 ...
After appending job, the File A would be like below.
Jan Feb Mar April ...
10 30 40 20 ...
TIA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
Is there a way to append a text file to an existing text file.
For example,
File A:
Jan Feb Mar April ...
File B:
10 30 40 20 ...
After appending job, the File A would be like below.
Jan Feb Mar April ...
10 30 40 20 ...
TIA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi
When using read/sysread you pass variables like $fo->sysread($buf,
$buflen), and the data is returned in buf.
This is magic to me, normally you ought to call sysread like $fo-
>sysread(\$buf,$buflen), passing a reference/pointer to the buffer.
Apparantly here's some trick, although the variab
Hi,
It's a basic job in Perl, just open, read, and print.
open B with read mode;
read the content of B into memory (ie, save to a variable);
close B;
open A with append mode;
write B's content to A;
close A;
2008/9/19 Back9 <[EMAIL PROTECTED]>:
> Hello,
>
> Is there a way to append a text fil
Hi,
<[EMAIL PROTECTED]> wrote:
> When using read/sysread you pass variables like
> $fo->sysread($buf, $buflen), and the data is returned in buf.
> This is magic to me, normally you ought to call sysread like $fo-
> >sysread(\$buf,$buflen), passing a reference/pointer to the buffer.
>
> Apparan
On Thu, 2008-09-18 at 10:16 -0700, Back9 wrote:
> Hello,
>
> Is there a way to append a text file to an existing text file.
> For example,
> File A:
> Jan Feb Mar April ...
>
> File B:
> 10 30 40 20 ...
>
> After appending job, the File A would be like below.
> Jan Feb Mar April ...
> 10 30 40 2
On Fri, 2008-09-19 at 06:58 -0700, [EMAIL PROTECTED] wrote:
> Hi
>
> When using read/sysread you pass variables like $fo->sysread($buf,
> $buflen), and the data is returned in buf.
> This is magic to me, normally you ought to call sysread like $fo-
> >sysread(\$buf,$buflen), passing a reference/p
Back9 wrote:
Hello,
Hello,
Is there a way to append a text file to an existing text file.
For example,
File A:
Jan Feb Mar April ...
File B:
10 30 40 20 ...
After appending job, the File A would be like below.
Jan Feb Mar April ...
10 30 40 20 ...
open A, '>>', 'File A' or die "Cannot ope
> > > --
> >
> > Well, I think you should buy the book "learning Perl" which is
> > suitable for both unix users and windows users, since Perl is a
> > Cross-Platform language.
>
> Yes, the book "Learning Perl" had 5th in 2008.
> and you can download it from the here:
> www.freebookspot.net
> also
> "air" == air <[EMAIL PROTECTED]> writes:
air> Yes, the book "Learning Perl" had 5th in 2008.
air> and you can download it from the here:
[redacted]
air> also it had many frees books to download.
air> good luck.
I know this is *talk* like a pirate day. It's not *be* a pirate day.
Please d
Hi,
I installed Net::SCP as I was reminded of the module in a recent post.
I need to copy files from one server to another. I generated ssh-keys
for a user and I can use
scp test.txt myserver:/home/somedude/mytest.txt
without passwords when I su to that user but when I run the script as
myself
Hello,
I would like to mirror Perl scripts I have loaded in a domain #1 directory
and use them in domain #2 without redirecting the web response to domain #1.
I really don't want to make copies of all the scripts in domain #1 and
install them in domain #2 as this will become a maintenance nightmar
Back9 schreef:
> Is there a way to append a text file to an existing text file.
Yes.
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
2008/9/20 <[EMAIL PROTECTED]>:
> Hello,
>
> I would like to mirror Perl scripts I have loaded in a domain #1 directory
> and use them in domain #2 without redirecting the web response to domain #1.
> I really don't want to make copies of all the scripts in domain #1 and
> install them in domain #2
18 matches
Mail list logo