Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Print subroutine problem

by CountOrlok (Friar)
on Apr 05, 2013 at 17:56 UTC ( #1027183=note: print w/ replies, xml ) Need Help??


in reply to Print subroutine problem

The simple solution is to change the anonymous subs to look like this:

sub { print "Active_Conn: ".query_database($querys{activeconn})." " }
And add a print "\n" at the end before exiting. I suggest refactoring it once you get it working.


Comment on Re: Print subroutine problem
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-12-28 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls