Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Perl Module install help

by Khen1950fx (Canon)
on Sep 06, 2013 at 15:18 UTC ( #1052728=note: print w/ replies, xml ) Need Help??


in reply to Perl Module install help

It's obvious that you were emulating the author's RunAlone.t. The response you got was exactly the response that the author was testing. She used __END__ only in that specific instance; also, she deliberately misspelled the module name to test the error message. If you wanted your script to throw an exception, then it's correct. To get rid of the error, spell the module name correctly. Your test won't throw an exception then. This worked for me:

#!/usr/bin/perl -l # test.pl use strict; use warnings; use Sys::RunAlone; print "Srini"; __END__


Comment on Re: Perl Module install help
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2014-10-30 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls