Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How To Call An Anonymous Subroutine?

by runrig (Abbot)
on Apr 25, 2012 at 18:07 UTC ( #967133=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       print "getting new resolvers for dns server $dns_server\n";
       for my $resolver ( @{$new_resolvers{$dns_server}} ) {
    ...
         }
       }
       print "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967133]
help
Chatterbox?
[ksbehal]: I need to test a .pl file for unit testing and integration testing. I tried to use the Test::More but when I am doing require_ok, it is executing the given script which i do not want.. any way out??

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-01-24 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (204 votes). Check out past polls.