Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: output of one program doesn't show in another on server

by AnomalousMonk (Canon)
on Dec 18, 2012 at 04:38 UTC ( #1009273=note: print w/replies, xml ) Need Help??


in reply to output of one program doesn't show in another on server

That's not the way to obtain the length (i.e., number of elements) of an array. See scalar. See also the discussion in Scalar values (in perldata) in the paragraph beginning 'The length of an array is a scalar value.' Dunno about the rest of your question.

>perl -wMstrict -le "my @ra = qw(a b c); print length @ra; print scalar @ra; ;; @ra = (); print length @ra; print scalar @ra; " 1 3 1 0

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009273]
help
Chatterbox?
[stevieb]: Because of the extreme complexity of the testing code itself, I implemented extensive logging so I can troubleshoot much easier by setting a high debug level.
[stevieb]: if you're interested in the test/build backend, have a look at Test::BrewBuild.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2017-04-28 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (529 votes). Check out past polls.