Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Weird Perl Rule I'm Probably Not Following

by kutsu (Priest)
on Oct 14, 2005 at 17:01 UTC ( [id://500310]=note: print w/replies, xml ) Need Help??


in reply to Weird Perl Rule I'm Probably Not Following

Your code contains several errors, which is to be expected of someone new to perl, it's $array[fieldnum] not @array[fieldnum] - add "use warnings;" and "use strict;" and you'll find several more (see Use strict warnings and diagnostics or die for more). A bigger question in my mind is why can't you use modules?

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

Replies are listed 'Best First'.
Re^2: Weird Perl Rule I'm Probably Not Following
by moltar512 (Sexton) on Oct 14, 2005 at 17:12 UTC
    i'm trying to add complex number support for a open source program called Lon-Capa made by Michigan State University. Lon-Capa is an online homework submission system. they used perl to make it, and in the way that you define your problems. They use perl script to define how problems are randomly generated. I can't just use a module to make lon-capa understand complex numbers because if i did my problems wouldn't be compadible with lon-capa anymore. What i can do, however, is write a perl library file to do any math that capa doesn't already do. unless you guys know a better way.. hahahahhaa
      What i can do, however, is write a perl library file to do any math that capa doesn't already do. unless you guys know a better way.. hahahahhaa
      Um, use a *prewritten* "perl library file" to do the math that "capa" doesn't already do?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-19 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found