Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Test::More arrays

by perldiverx (Sexton)
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 (Chancellor) 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 musing on the Monastery: (8)
As of 2014-12-21 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (105 votes), past polls