develooper Front page | perl.beginners | Postings from January 2002

Write Question.

Thread Next
From:
murali
Date:
January 4, 2002 19:19
Subject:
Write Question.
Message ID:
38A6C7D1B5A8D4118D5B00508B5E08E3019CF47B@goofy.epiphany.com

Gretings!

I am new to Perl, So pardon my ignorance.				}
		
I am using Active Perl 5.6.1 on NT4.0:

I am trying to write the variable $xpn into a file called report.

Am I doing it right?

Here is the part of the code:

			if ($db_pvcs->FetchRow() )
				{
				print "Valid Bug-number: $bfn\n";
				print "Check-in allowed\n";
				print "The File $xpn\n";
				open (REPORT, ">report" ) || die "report:
$!\n";
				format REPORT = |CCASE Files|
				Name: @<<<<<<<<<<<<<<<<<<<<<<<<
				$xpn
				.
				write REPORT;
				}
			else

Thanks in Advance,
-Murali

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About