Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Perl module error

by Vaclav_ (Novice)
on Oct 04, 2013 at 22:56 UTC ( #1056950=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Perl module error
in thread Perl module error

I did what you said, downloaded it and replaced, and it worked! But then when I add my additional code to the file, I get error again: "KeyManager.pm" did not return a true value". So what is this whitespace problem? White spaces should be ignored by perl, and I don't have new line after 1; Is it about the newline character? I'm using Notepad++ on windows.


Comment on Re^4: Perl module error
Re^5: Perl module error (cat -A)
by Anonymous Monk on Oct 05, 2013 at 01:45 UTC

    So what is this whitespace problem?

    do like toolic told you and find out using cat -A file

    $ cat -A foo sub ^Mfoo ^M{ 1 ^M}^M
    ^M is \r aka CR

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056950]
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: (10)
As of 2014-07-25 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (171 votes), past polls