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

Re: can PERL just quit?

by Eily (Hermit)
on Jun 09, 2014 at 21:39 UTC ( #1089340=note: print w/ replies, xml ) Need Help??


in reply to can PERL just quit?

Your code doesn't compile, because $artheader isn't defined anywhere. I saw that by putting your code in a file called test.pl and running perl -c test.pl. This checks the syntax of the program without actually running it so you can try perl -c on your file without side effects.

Edit: this means you should try and see why your tool doesn't give you any feedback on this error. The compilation error message should be sent to the standard error output, just as any error occuring during runtime.


Comment on Re: can PERL just quit?
Download Code
Re^2: can PERL just quit?
by LanX (Canon) on Jun 09, 2014 at 21:44 UTC
    Good catch... but a framework running Perl scripts (like eg Tivoli) should be able to report compilation problems...(?)

    Cheers Rolf

    (addicted to the Perl Programming Language)

      I guess it should yes. At least gupr1980 knows the problem is not on perl's side. I'm going to edit my post.

Re^2: can PERL just quit?
by Anonymous Monk on Jun 09, 2014 at 22:17 UTC
    It's just a typo. I was trying to change artheader to header for this post. No compile errors.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-09-19 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls