http://www.perlmonks.org?node_id=997253


in reply to Re^3: Finding subgraphs induced by a set of given vertices.
in thread Finding subgraphs induced by a set of given vertices.

#~ sub DEBUG(){} # disable debugging

Also note that  sub DEBUG(){} won't work to disable the  DEBUG() print function because of the empty argument list prototype (unless there's some magic associated with the  #~ thingie). Plain old  DEBUG {} would work, though.

Replies are listed 'Best First'.
Re^5: Finding subgraphs induced by a set of given vertices.
by Anonymous Monk on Oct 04, 2012 at 18:31 UTC
    You're hilarious :) When you're done debugging the thing, done learning how it works, switch one debug sub for the other one, the disabling one, in my editor, its select both lines, and hit Ctrl+Q , it toggles comments ( #~ )