Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: matrices and non-numerical values

by GrandFather (Saint)
on Apr 30, 2012 at 02:09 UTC ( [id://967993]=note: print w/replies, xml ) Need Help??


in reply to Re^4: matrices and non-numerical values
in thread matrices and non-numerical values

You did not run the code you show us or you would have gotten messages that look like:

lobal symbol "$line" requires explicit package name at noname.pl line +5. Global symbol "$element" requires explicit package name at noname.pl l +ine 6. ...

Prefix your code with:

use strict; use warnings; my $fname = 'list.txt'; open my $fOut, '>', $fname or die "Can't create $fname: $!\n"; print $fOut <<TESTDATA; some test data goes here TESTDATA close $fOut; ...

providing some sensible test data where indicated then show us the result of actually running the code.

True laziness is hard work

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://967993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-24 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found