Hello,
i will answer myself, may be it will help someone:
Here is my question:
i want to convert , and elements to ascii text
One
Two
...will become:
* One
* Two
One
Two
...will become:
1. One
2. Two
Did some
# You can try this...
# Get Cookies Without CGI.pm
my %cookies;
my @nvpairs = split(/; /, $ENV{'HTTP_COOKIE'});
foreach my $pair (@nvpairs) {
my($name, $value) = split(/=/, $pair);
$cookies{$name} = $value;
}
foreach my $name (sort keys %cookies) {
print "Name is: $name";
print " Value is
Simple ? ActivePerl !
http://www.activestate.com/Products/ActivePerl/
I hope i well understood the question ...
Pardon my english :)
- Original Message -
From: "John" <[EMAIL PROTECTED]>
To: "Perl-Win32-Users" <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 8:38 AM
Subject: Perl C
Hello,
What's is exactly the difference
between:
Module->formatVal($string);
Module::formatVal($string);
Thanx in advance !
Frédéric
BournivalProgrammeur-analyste /
analyst-programmerSolutions
Imédiaco---
A really BIG thank you :
this two ways are fine:
return $this->{'mimeparts'}{'test'};
my %hasharray = %{$this->{mimeparts}};
return $hasharray{'test'};
Thanx again :))
Frédéric Bournival
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To
Hello,
i really need your help...
I'm not able to get the values of an hash array into an object
Here is my code:
package Test;
# [...]
sub AddText {
my $this = shift @_;
my $content = shift;
my %hasharray = %$this->{mimeparts};
$hasharray{'text'} = $con