Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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...

Comment on Test::More arrays
Re: Test::More arrays
by toolic (Bishop) on Jan 31, 2013 at 22:32 UTC
Re: Test::More arrays
by frozenwithjoy (Curate) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2015-07-05 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls