Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Trying to sort output

by RichardK (Vicar)
on Feb 23, 2013 at 17:07 UTC ( #1020325=note: print w/ replies, xml ) Need Help??


in reply to Trying to sort output

What do you think this is going to do ?

if (@output gt $string) {

@output in scalar context returns the size of the array, and you compare it against a string ?


Comment on Re: Trying to sort output
Select or Download Code
Replies are listed 'Best First'.
Re^2: Trying to sort output
by Anonymous Monk on Feb 23, 2013 at 18:09 UTC
    I thought it was going to compare the two strings numerically. I am sure I do not understand this correctly. I am pretty new to this. What would be a better way of pulling out the wait seconds from that output and comparing them again the value of 1001 seconds?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (16)
As of 2015-07-29 18:40 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 (267 votes), past polls