Tags:
create new tag
view all tags

SID-00703: I would like to read text file

Status: Answered Answered TWiki version: 4.3.0 Perl version: 5.8.4
Category: Server OS: fedora 11 Last update: 16 years ago

I would like to read text file. This file has 2 fields per line and I would like to put their values in 2 variables.

What is the best way to do it.

Thanks Thierry

-- TWikiGuest - 2010-01-06

Discussion and Answer

Hi - are you trying to setup some TWiki variables from text file? You can push some code in TWiki's core module to do that.

Please share - what exactly you are trying to do? If you are trying to build a Perl script and talking about Perl variables - then i suggests you try other forums on the internet (possibly groups.google.com - check perl related groups)

-- SopanShewale - 2010-01-12

See also IncludeFilesAsURL, IFrameExample.

Look also into creating a TWikiForms based application with FormattedSearch and QuerySearch.

-- PeterThoeny - 2010-01-12

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title I would like to read text file
SupportCategory

TWiki version 4.3.0
Server OS fedora 11
Web server apache
Perl version 5.8.4
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2010-01-12 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.