Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Just another Perl shrine
 
PerlMonks  

Re: Weird Perl Rule I'm Probably Not Following

by kutsu (Priest)
on Oct 14, 2005 at 17:01 UTC ( #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


Comment on Re: Weird Perl Rule I'm Probably Not Following
Download Code
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
Node Status?
node history
Node Type: note [id://500310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-04-21 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (490 votes), past polls