Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Can't locate

by marto (Bishop)
on Mar 07, 2012 at 16:22 UTC ( #958319=note: print w/ replies, xml ) Need Help??

in reply to Can't locate

Your first problem:

use Spreadsheet::Parseexcel;

Should be:

use Spreadsheet::ParseExcel;

This is obviously just a typo in your post (hint, copy and paste what your actual code). Secondly, define is an old module you probably don't have installed, it's not core. Thirdly, what is MaxRow, it's only mentioned once in your code:

foreach(my $i=0; $i {MaxRow}; $i++) {

Update: Ignore the part I struck out, that's not accurate.

Comment on Re: Can't locate
Download Code
Replies are listed 'Best First'.
Re^2: Can't locate
by jaldama (Acolyte) on Mar 07, 2012 at 16:46 UTC
    Got it, thanks a lot everyone
Re^2: Can't locate
by bart (Canon) on Mar 07, 2012 at 21:23 UTC
    use Spreadsheet::Parseexcel;
    Should be:
    use Spreadsheet::ParseExcel;
    I'm not sure what you mean, but the proper capitalization is indeed Spreadsheet::ParseExcel. On case-insensitve filesystems and in case the module doesn't export anything (like, apparently this module) that would hardly seem to matter, but it is a proper habit to get into.

      bart, I scored this out because I found this worked when I tried it. I wanted to do some further digging, which I didn't get round to yesterday due to being very busy. I rarely code on Windows and was surprised this worked, as I'm used to the 'case counts' mentality. While I stand by this mentality (as you rightly say, it's a good habit to get into) I wanted to take the time to investigate if I'd done anything wrong in my test, or if perl as actually working as I expected on my windows laptop. Thanks.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2015-11-26 05:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls