Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: response in LWP::UserAgent

by da (Friar)
on Jul 27, 2001 at 00:52 UTC ( [id://100145]=note: print w/replies, xml ) Need Help??


in reply to response in LWP::UserAgent

All you need is to read a line from the <STDIN> filehandle (or the default filehandle <>, if it hasn't been reassigned).

print "Give me an answer:"; $answer = <STDIN>; chomp $answer; print "You said '$answer'.\n";
See this node for a little more info. (Which you could find with a site search for 'input')

___ -DA > perl -MPOSIX -le '$ENV{TZ}="EST";print ctime(1000000000)' Sat Sep 8 20:46:40 2001

Log In?
Username:
Password:

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

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

    No recent polls found