Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Split() first 3 elements of @array

by pvaldes (Chaplain)
on Aug 29, 2012 at 16:40 UTC ( #990507=note: print w/ replies, xml ) Need Help??


in reply to Split() first 3 elements of @array

maybe like this, untested

while (<$RouterOutput>); if ($. <=3) { @Data = split /' '/, $RouterOutput; ... }


Comment on Re: Split() first 3 elements of @array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2015-07-02 17:32 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 (44 votes), past polls