Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-26-2011, 02:50 PM   #16
LQ Newbie
Registered: Apr 2011
Posts: 8

Original Poster
Rep: Reputation: 0

Getting this error;

syntax error at ./ line 15, near "$filename
Execution of ./ aborted due to compilation errors.
Old 04-26-2011, 03:02 PM   #17
LQ Newbie
Registered: Apr 2011
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up

This explanation does makes sense.

open (FILE, ">/space/data/$filename") || die("Couldn't open file and directory");
This worked.

Thanks a million for your all support and the final explanation.
While coding, we sometime go blind. We dont see things even when they are in front of our eye's (Might be due to stress or pressure from our pears to finish the job sooner).

Forum's like these, really matters and helps when we really are in need of something.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How upload a txt file to a domain's base directory? JuJamEI Linux - Newbie 1 11-16-2010 01:17 PM
How do you add a .txt file to a domains base directory Trebore General 2 10-14-2009 03:47 PM
Creating a cron job to email me a txt file/format? NewShockerGuy Linux - General 7 05-16-2008 10:23 AM
How can read from file.txt C++ where can save this file(file.txt) to start reading sam_22 Programming 1 01-11-2007 06:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration