hello list,
I am trying to find if an element in one primary file (transformed to array)
is included in two other different secondary files (transformed to arrays,
too); the result is going to be printed as 1 or 0:
...
#creating arrays from its text files
@img_array=IMATGES; @dict_array=DICT;
On Jan 13, 2007, at 6:29 PM, xavier mas wrote:
hello list,
I am trying to find if an element in one primary file (transformed
to array)
is included in two other different secondary files (transformed to
arrays,
too); the result is going to be printed as 1 or 0:
According to the code
A Dissabte 13 Gener 2007 18:53, Xavier Noria va escriure:
On Jan 13, 2007, at 6:29 PM, xavier mas wrote:
hello list,
I am trying to find if an element in one primary file (transformed
to array)
is included in two other different secondary files (transformed to
arrays,
too); the
xavier mas wrote:
Here's an example:
in (file, array and hash) contains: woman, lion, ball
img (file, array and hash) contains: ball, dog, cat, lion.
dict (file, array and hash) contains: house, man, woman, kid, kitchen, lion
Comparing in with dict ans img, I'll expect as a result (all
On Jan 13, 2007, at 7:43 PM, xavier mas wrote:
Here's an example:
in (file, array and hash) contains: woman, lion, ball
img (file, array and hash) contains: ball, dog, cat, lion.
dict (file, array and hash) contains: house, man, woman, kid,
kitchen, lion
Comparing in with dict ans img,
A Dissabte 13 Gener 2007 20:38, John W. Krahn va escriure:
xavier mas wrote:
Here's an example:
in (file, array and hash) contains: woman, lion, ball
img (file, array and hash) contains: ball, dog, cat, lion.
dict (file, array and hash) contains: house, man, woman, kid, kitchen,
lion
Quick question about references to arrays that I need clarified?
If I have 'my $aryRef = [EMAIL PROTECTED]' can do 'push $aryRef, $aValue'?
Does this
place the value of $aValue directly into @array or do I need to figure out
another way to do that?
I'm guessing this is exactly what array
If I have 'my $aryRef = [EMAIL PROTECTED]' can do 'push $aryRef, $aValue'?
Does this
place the value of $aValue directly into @array or do I need to figure out
another way to do that?
You can't do 'push' like this way since $aryRef is a scalar but 'push' expect a
list as its first argument.
Jeff Pang wrote:
If I have 'my $aryRef = [EMAIL PROTECTED]' can do 'push $aryRef, $aValue'?
Does this
place the value of $aValue directly into @array or do I need to figure out
another way to do that?
You can't do 'push' like this way since $aryRef is a scalar but 'push' expect
a list
Jeff Pang wrote:
If I have 'my $aryRef = [EMAIL PROTECTED]' can do 'push $aryRef, $aValue'?
Does this
place the value of $aValue directly into @array or do I need to figure out
another way to do that?
You can't do 'push' like this way since $aryRef is a scalar but 'push' expect
a list
On 1/13/07, xavier mas [EMAIL PROTECTED] wrote:
Yes, this is the code I use, but still doesn't work to me and I can't find the
cause.
Have you looked the results using Data::Dumper? Maybe the results
aren't as expected?
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/
On 1/4/07, Jm lists [EMAIL PROTECTED] wrote:
what's the encode format for %BD%F1%C8%D5%C5%C5%D0%D0 ?Thank you.
It's another way for spammers to hide URLs, etc.
Try this:
use strict;
my $val = %BD%F1%C8%D5%C5%C5%D0%D0;
print Looking at $val ;
$val =~ s/%([0-9a-f][0-9a-f])/chr(hex($1))/ieg;
12 matches
Mail list logo