Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-18-2002, 08:34 PM   #1
Member (8 bit)
 
Web Gecko's Avatar
 
Join Date: Nov 2001
Location: Perth Western Australia
Posts: 244
Perl - Console Input - Help Wanted

Howdy

I am picking up some Perl for the first time so I have heaps to learn.

At the moment I just want to know how to input lines of data from the keyboard and write these to a file.

I have been trying to put STDIN into a scalar like $data
and then print to a file but it don't work. Is input in Perl only from a file ? So far STDIN only seems to feed my console data to the DOS shell and nothing goes to my data file.

I guess I'm a Perl newbie so I need help.
Any ideas appreciated.

Thanks

The Web Gecko
Web Gecko is offline   Reply With Quote
Old 09-19-2002, 07:48 AM   #2
Member (8 bit)
 
Web Gecko's Avatar
 
Join Date: Nov 2001
Location: Perth Western Australia
Posts: 244
Just a quick note to say that I finally got that one down.

No doubt I'll run into other problems now.

The Web Gecko
Web Gecko is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:23 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2