Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Test::More arrays

by toolic (Bishop)
on Jan 31, 2013 at 22:32 UTC ( #1016406=note: print w/replies, xml ) Need Help??


in reply to Test::More arrays

See Complex data structures. You can compare arrays, as long as you pass the array as a reference to is_deeply.

Here is a code example from one of the tests of my module on CPAN.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016406]
help
Chatterbox?
[chacham]: The darkness here is quite natural. Sunset was 1.5 hours ago ...
LanX prefers blood moons

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-08-21 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (324 votes). Check out past polls.

    Notices?