Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: how to run this script

by CountZero (Bishop)
on Oct 05, 2012 at 17:09 UTC ( #997520=note: print w/replies, xml ) Need Help??

in reply to how to run this script

It seems you do not have Spreadsheet::ParseExcel installed.

On the command line try "cpan Spreadsheet::ParseExcel". That should install it for you.


A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^2: how to run this script
by kurtcobain (Novice) on Oct 05, 2012 at 17:15 UTC
    thanks ..its working. whats the difference between running a perl script with command ./filename and perl filename . when i do ./filename it gives error bash: ./ Permission denied Please help
      when i do ./filename it gives error bash: ./ Permission denied
      You probably need to give your file execute permissions, like:
      chmod 777

      Also, conventionally, the .pm file name suffix is reserved for Perl module files (see package). It is more common to use the .pl file extension for scripts.

        chmod 777

        Far too permissive!

        That gives every man and his dog permission to run, modify or even delete the script, if they are able to browse to the directory containing it. Much safer would be

        chmod u+x

        We see, and have to try to fix, the chaos that ensues when someone does an ill-considered

        chmod -R 777 /some/path/with_lots_of/sub-directories

        and it is a practice strongly to be discouraged.



Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997520]
[Corion]: LanX: Ah, yeah - Frankfurt is in the quake region, but at the very border. I think I've never noticed a quake in Frankfurt myself
[marto]: good morning all
[Corion]: On another topic, in the process of Rubber Duck SoPWing, I wrote a post about the best API for generating HTTP requests (not sending them) and while writing it and fleshing out my sample implementation, I came up with some improvements to my ...
[Corion]: ... existing prototype. Cartesian Products will be proud of that module once it gets out ;)
[Corion]: Hi marto ;)
LanX has the same problem with English accents ...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-01-18 10:19 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (161 votes). Check out past polls.