Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: SSH to Unix and search files for string

by insaniac (Friar)
on Oct 12, 2009 at 11:31 UTC ( [id://800675]=note: print w/replies, xml ) Need Help??


in reply to Re: SSH to Unix and search files for string
in thread SSH to Unix and search files for string

it's probably just a typo in your code, but it's
my ($host,$file) = split /:/,$spec,2;
and not:
my ($host,$file) = split $spec,/:/,2;
;-)

to ask a question is a moment of shame
to remain ignorant is a lifelong shame

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found