Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Test::More arrays

by perldiverx (Beadle)
on Jan 31, 2013 at 22:04 UTC ( #1016404=perlquestion: print w/replies, xml ) Need Help??
perldiverx has asked for the wisdom of the Perl Monks concerning the following question:

I'm writing a script using Test::More and one of the functions I have to test inputs a string and outputs an array. How does Test::More handle this? I've only seen examples with strings and integers. Edit: I figured out what I was doing wrong...

Replies are listed 'Best First'.
Re: Test::More arrays
by toolic (Bishop) on Jan 31, 2013 at 22:32 UTC
Re: Test::More arrays
by frozenwithjoy (Priest) on Feb 01, 2013 at 05:27 UTC
    Edit: I figured out what I was doing wrong...

    When you figure stuff out on your own, you should post your solution so that others might learn from it.

Re: Test::More arrays
by Anonymous Monk on Feb 01, 2013 at 13:19 UTC
    Yes, please. The next person to have the same problem you did will now give you experience-points ("ding! ding!") instead of howling at the moon.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016404]
Approved by toolic
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2018-05-25 17:09 GMT
Find Nodes?
    Voting Booth?