Disregard my previous email as it was another error further up in the
program.
Typical beginners mistake I guess :)
Cheers
Tommy
[EMAIL PROTECTED]
http://homepage.mac.com/tgrav/
"Any intelligent fool can make things bigger,
more complex, and more violent. It takes a
touch of genius -- and a
Tommy Grav wrote:
print $refstars[1][0] ; # <- This is line 38
However this code returns an error I do not understand
Missing right curly or square bracket at refstar.pl line 38, at end
of line
syntax error at refstar.pl line 38, at EOF
Execution of refstar.pl aborted due to
The code you posted does not return any errors.
Check the parts you didn't post.
-Original Message-
From: Tommy Grav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 1:48 PM
To: beginners@perl.org
Cc: Tommy Grav
Subject: Array of arrays
I have a file of numbers that I want to
Alright then,
first you want to think about how you are going to populate the arrays. For example,
if I have a file that contains the following data:
1|10
5|7
I would do this:
open(FH, "< bob.txt");
my @file_list;
while()
{
# add a reference of the 2 file columns to @file_list
On Mon, Oct 20, 2003 at 12:33:00PM +0200 Christiane Nerz wrote:
> How do I read data out of a table-file in an array-of-arrays?
>
> Problem: I have to compare two tables with pairs of start-stop-Positions.
> I want to find out, which pair of Start-Stop-Position in table_1 is
> entirely within th
<[EMAIL PROTECTED]Kopie:
elabs.com> Thema: RE: array of arrays
... from two text files.
Output of a pattern-searching-program and data out of a DB (genebank).
No prob to read in those data in a textfile too.
Stephen Hardisty wrote:
How do I read data out of a table-file in an array-of-arrays?
Problem: I have to compare two tables with pairs of start-stop-P
> How do I read data out of a table-file in an array-of-arrays?
>
> Problem: I have to compare two tables with pairs of start-stop-Positions.
> I want to find out, which pair of Start-Stop-Position in table_1 > is
> entirely within the range marked by a pair of start-stop-positions of
> the seco
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Michael Fowler) wrote:
> $array[$i][$j][$k][$l][$m] eq $list[$l][$m]
> However, this is the first time I've seen someone intentionally using such a
> large-dimension array. What is this for?
i've used many more dimensions than that ;)
--
bri
On Thu, Oct 18, 2001 at 02:28:41PM -0600, Tyler Cruickshank wrote:
> $array[$i][$j][$k] = [ @list ]; where, @list is a 2-D array ie. $list[][].
>
> How do I access the individual elements of the array @list once Ive put it
> into the array @array?
$array[$i][$j][$k][$l][$m] eq $list[$l][$m]
H
10 matches
Mail list logo