Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Can't locate

by marto (Archbishop)
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.

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2018-04-25 22:19 GMT
Find Nodes?
    Voting Booth?