List Info

Thread: Re: Log file is not created, what am I not doing correctly please?




Re: Log file is not created, what am I not doing correctly please?
country flaguser name
United States
2007-03-05 11:39:26
Yes and I have read them and I have even posted some of the
sample code from them that I have tried but I do not seem to
be doing something right. There are samples on about
everything but if i could of gottem them to work I would not
have asked here. I do not want to wasted anyones time. i
tried for a couple of hours on this and other issues before
posting.
Thank you,
Chip


----- Original Message ----
From: Hans Witschi <hwitchegmail.com>
To: perl-beginner@yahoogroups.com
Sent: Friday, March 2, 2007 9:00:20 PM
Subject: Re: [PBML] Log file is not created, what am I not
doing correctly please?

There are many good tutorials out there for this kind of
simple questions.

Hans

On 3/2/07, chipwillis2003 <chipwillis2003
yahoo.com> wrote:
>
> I have tried various ways of creating this log file but
I can not
> seem to get Perl to create it. I can create it with the
Windows file
> manager so I have permission.
>
> Here are some of the ways I have tried it with no
success. What am I
> doing wrong?
>
> 1)
> open(FILEHANDLE, ">c:ActivityOnL
ine.log") ;
>
> 1a)
> open(FILEHANDLE, ">ActivityOnLine .log");
>
> 2)
> $FH = "FILEHANDLE" ;
> $FilePath = "c:SOARimports API_Log_files
ActivityOnLine. log";
> create(FH, $FilePath, O_CREAT);
>
> 3)
> sysopen (HTML, 'ActivityOnLine. log', O_RDWR_EXCL|
O_CREAT, 0755);
> printf HTML "<html>n";
> printf HTML "<head>n";
> printf HTML "<title>My Home
Page</title> ";
> printf HTML "</head>n";
> printf HTML "<body>n";
> printf HTML "<p align='center' >Here we have
an HTML page with a
> paragraph.</ p>";
> printf HTML "</body>n";
> printf HTML "</html>n";
> close (HTML);
>
> Thank you,
> Chip
>
> 
>

[Non-text portions of this message have been removed]





 
____________________________________________________________
________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search
Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_
v2.php

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced
email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/ndFolB/TM

------------------------------------------------------------
--------~-> 

Unsubscribing info is here: h
ttp://help.yahoo.com/help/us/groups/groups-32.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://g
roups.yahoo.com/group/perl-beginner/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http
://groups.yahoo.com/group/perl-beginner/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:perl-beginner-digest@yahoogroups.com 
    mailto:perl-beginner-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    perl-beginner-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )