hi to all,
I use session (CGI::Sessions) to record some data in a textual
search-engine (CQP). I have this problem: I need to destroy a session
before starting the new one, but I cannot.
actually I wrote this code:
$qualecookie = $pagina-cookie(CGIRICERCA);
if($qualecookie)
{
Hi folks
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
this code will give me the error you can't change permission denied
can any body tell me , how to over come this error
Dear Sirs,
I want to convert a HoA into AoH. Basically what it does
is to create a distinct hash for each pair of array element that comes
from different keys (see the example below).
Please also note that the size of the hash and array maybe varying
in the input HoA. And also note that the
On Mon, 2005-10-31 at 13:45 +0530, Rakesh Mishra wrote:
Hi folks
Hello,
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
this code will give me the error you can't
Hi folks
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
this code will give me the error you can't change permission denied
can any body tell me , how to over come this
Gundala Viswanath wrote:
Dear Sirs,
Hello,
I want to convert a HoA into AoH. Basically what it does
is to create a distinct hash for each pair of array element that comes
from different keys (see the example below).
Please also note that the size of the hash and array maybe varying
in
On Oct 31, 2005, at 9:56, Gundala Viswanath wrote:
Here is the example, given this HoA:
my $HoA = {
'flintstones' = [ fred-1 foo-2, barney-1 bar-2 ],
'jetsons' = [ george-1 foo-2, jane-1 bar-2],
};
How can I convert them to an AoH
my $AoH = [ # Desired results.
{
'flinstones' = fred-1
On Oct 31, 2005, at 12:34, Xavier Noria wrote:
sub HoA_to_AoH {
my ($HoA) = @_;
my @keys = keys %{$HoA};
return [] if not @keys;
my @AoH = ();
my $nkeys = @keys;
my $nvals = @{$HoA-{$keys[0]}};
my $iter = indexes($nvals, $nkeys);
while (my $idxs = $iter-()) {
Hi John,
Thanks a lot for the answer.
But your code gives this instead:
$VAR1 = [
{
'2,3,jetsons' = 'george-1 foo-2'
},
{
'2,3,jetsons' = 'jane-1 bar-2'
},
{
'1,2,flintstones' = 'fred-1 foo-2'
},
{
'1,2,flintstones' = 'barney-1 bar-2'
}
];
Please correct me if I'm wrong in understanding your code
[EMAIL PROTECTED] wrote:
Hi folks
Hello,
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
chown $uid, $gid, $filename or die chown failed: $!;
this code will give me the
Rakesh Mishra wrote:
Hi folks
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
this code will give me the error you can't change permission denied
can any body tell me , how to
I'm writing a simple client-server application, and I'm trying to find a
way to tell if the other end of an open TCP connection has gone offline.
I heard that with C you can send a packet of data and check if an ACK
packet comes back. If it doesn't then the connection is closed. But how
can
On Mon, 31 Oct 2005, Shawn Corey wrote:
Yes, you must the the recipient of the change, unless you have
superuser privileges. In other words, you must be $uid. This is
because many UNIX systems have quotas on how much data you can store.
What??
That's hardly why this constraint exists.
If
On client side, you can write:
$sock-shutdown(1);
to send an EOF to remote server.
When the server receive the EOF,it will end of writing socket to
client,and send back an EOF to client.At this point,the socket talks
between client and server have finished.
2005/10/31, Karjala [EMAIL
I am new to Linux and trying to use some modules (even CGI.pm) and compile
them for the Apache server I am playing with (educational purposes). I am
running Mandrivia 2006..
I am trying to compile a couple of modules and with both of them I get the
same error. I do:
perl Makefile.PL
make
Karjala wrote:
I'm writing a simple client-server application, and I'm trying to find a
way to tell if the other end of an open TCP connection has gone offline.
If the other side has closed its end of the connection, you detect this
by reading from the socket and receiving EOF (0 bytes read),
Chris Devers wrote:
What??
That's hardly why this constraint exists.
If anyone can make changes to any other account's files, then there's no
point in having ownership constraints at all.
Of course. I was being facetious.
The new version of chown prevents what?
New is a relative term.
I will be out of the office starting 10/31/2005 and will not return until
11/07/2005.
I will respond to your message when I return. Please contact
[EMAIL PROTECTED] or call DBA Hotline at 4477 for DBA assisstance.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
A. Sorry if the post shows up multiple times. First time using news from
this machine. Setup was messed, but I think they might have made it through
once I fixed it.
B. I FIGURED it out! Running from a FAT32 drive and the directory/filename
CASE was incorrect causing the files to not be
We're getting a little off topic here, but this is an interesting
discussion, and I think tangentially related: part of good programming
is understanding your security model, so...
On 10/31/05, Chris Devers [EMAIL PROTECTED] wrote:
On Mon, 31 Oct 2005, Shawn Corey wrote:
Yes, you must the the
Trying to use Mail::Mailer, in the sample code below.
i) if I put -T on the first line invoking Perl, I get
an error like too late for -T option
?
ii) The program runs but the mail never arrives. The
eval block checks always succeed. Where is the mail
going?
-matthew sacks
Hello.
I would like to forward the messages that get recived by this programme and
send them to a different number.
Now how do i do that without sending to the person who sent the message.
Say the number is 26771445566.
Plus how can i make sure that the message is not empty from the sender.
22 matches
Mail list logo