Octavian Rasnita wrote:
It seems that something's wrong because Internet Explorer automaticly
chooses UTF-8 encoding, but it doesn't display the text correctly.
In fact, I don't know which is the problem because I read the text from the
screen using a screen reader (I am blind) but I can read
I have a bit array I need to store in GET/POST
parameters and input type=hidden fields. Presently
I'm storing one bit per hidden field.
I would like to optimize this and use a little less
space. If I know I need less than 32 elements in my
boolean (bit) array, I can just use an integer in a
I'm trying to index into some function parameters that
are passed as array references.
Is strategy #1 (see below) identical to strategy #2? I
thought so. I had a bug I that I fixed by recoding
strategy #1 as strategy #2 and it fixed the problem.
This leads me to believe they are not identical.
I find I'm undefining variables my assigning an
unitialized variable to defined value to make it
undefined (as exemplified below).
Is there a better way to do this?
my $k;
for($i = 0; $i $c; $i++){
if ( defined $k ){
print $x[$k];
my $t; # intentionally undefined
$k = $t; #
On 4/1/2004 11:46 PM, Richard Heintze wrote:
I find I'm undefining variables my assigning an
unitialized variable to defined value to make it
undefined (as exemplified below).
Is there a better way to do this?
my $k;
for($i = 0; $i $c; $i++){
if ( defined $k ){
print $x[$k];
my
On 4/1/2004 11:39 PM, Richard Heintze wrote:
I'm trying to index into some function parameters that
are passed as array references.
Is strategy #1 (see below) identical to strategy #2? I
thought so. I had a bug I that I fixed by recoding
strategy #1 as strategy #2 and it fixed the problem.
This
Richard Heintze wrote:
my $t; # intentionally undefined
$k = $t; # undefine $k
Just for clarity -
This isn't undefining it is
assignment of nothing to $k;
my $nothing;
print \n\$nothing\'s Value: $nothing and
\$nothing\'s length . length $nothing;
my $somthing = 100;
$somthing =
Richard Heintze wrote:
What if I need more than 32 elements in my bit array?
I suppose I could use the first hidden field for the
first 32 elements of my array and the next 32 elements
are stored in the next hidden field. Uggghhh... Is
there an easier way?
You must not read the regular beginners
Let me rephrase that question:
Is there a way I can store large integers ( 2**32) as
character strings in radix 10 or radix 16 and covert
these strings to and from bitvectors from which I can
insert and extract individual bits?
I think bitvector is the name of the module. I did a
search on CPAN
Randy W. Sims wrote:
maybe 'perldoc -f vec', 'perldoc -f pack',
also http://search.cpan.org/search?query=bit
I was only suggesting:
man perlpacktut
-Sx-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
10 matches
Mail list logo