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

Re^2: Calling a subroutine within a conditional

by Freezer (Sexton)
on Sep 03, 2012 at 12:39 UTC ( #991422=note: print w/ replies, xml ) Need Help??


in reply to Re: Calling a subroutine within a conditional
in thread Calling a subroutine within a conditional

I fixed that, but still get:

main::look_through_file() called too early to check prototype at recei +ve_annotations_B.pl line 47. main::create_output() called too early to check prototype at receive_a +nnotations_B.pl line 48.
:(


Comment on Re^2: Calling a subroutine within a conditional
Download Code
Re^3: Calling a subroutine within a conditional
by daxim (Chaplain) on Sep 03, 2012 at 12:46 UTC
    Where do you define the subroutines? If they are in the same package, move them above the main part of the code; that's better style anyway.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2015-05-29 01:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (574 votes), past polls