Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE: no proxy - yes proxy Netscape

by rjimlad (Acolyte)
on May 25, 2000 at 21:46 UTC ( [id://14830]=note: print w/replies, xml ) Need Help??


in reply to no proxy - yes proxy Netscape

Nice little trick, but I'm sure the first could be written as a pure perl script (I don't like the idea of launching an interpreter from an interpreter). Of course, I can't be bothered to... because I can't remember an easy way of doing a read and a write at (about) the same time. *sigh* ---- Arrr, Jim lad.

Replies are listed 'Best First'.
RE: RE: no proxy - yes proxy Netscape
by gregorovius (Friar) on May 25, 2000 at 22:54 UTC
    Well, you could keep it a one-liner and call exec to run netscape, still taking advantage of the cool -pi options:
    perl -pi -e 's/^user_pref\("network\.proxy\.type".+$//; END{exec netsc +ape}' ~/.netscape/preferences.js

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found