Re: Need help with Perl error Please

2002-02-21 Thread Michael Kelly

On 2/21/02 10:15 PM, Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote:

> On Feb 21, Michael Kelly said:
> 
>> On 2/21/02 10:00 PM, Michael Eggleton <[EMAIL PROTECTED]> wrote:
>> 
>>> If I use the '<' for Justify left. I get the error message: Missing
>>> right curly or square braket.
>> 
>> You need to terminate formats with '.' (a single period), not '..'
>> 
>> That should fix it,
> 
> That is a problem with the mailing list program.  It will add a dot to a
> line beginning with a dot.  There was only one dot in the OP's code.

Oops, sorry about that. Never mind my last email, then :}

-- 
Michael


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Need help with Perl error Please

2002-02-21 Thread Jeff 'japhy' Pinyan

On Feb 21, Michael Kelly said:

>On 2/21/02 10:00 PM, Michael Eggleton <[EMAIL PROTECTED]> wrote:
>
>> If I use the '<' for Justify left. I get the error message: Missing
>> right curly or square braket.
>
>You need to terminate formats with '.' (a single period), not '..'
>
>That should fix it,

That is a problem with the mailing list program.  It will add a dot to a
line beginning with a dot.  There was only one dot in the OP's code.

-- 
Jeff "japhy" Pinyan  [EMAIL PROTECTED]  http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
 what does y/// stand for?   why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Need help with Perl error Please

2002-02-21 Thread Michael Eggleton

Sorry, my e-mail program must have put that in?  I only have one . in 
my program.  Any other ideas as to what mite be happening here, I'm 
pulling my hair out.

Michael D. Eggleton
http://www.gorealnetworks.com
mailto:[EMAIL PROTECTED]


-Original Message-
From: Michael Kelly <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Thu, 21 Feb 2002 22:09:34 -0800
Subject: Re: Need help with Perl error Please

> On 2/21/02 10:00 PM, Michael Eggleton <[EMAIL PROTECTED]>
> wrote:
> 
> > Hi All,
> > 
> > I have a problem with the Perl format command.
> > 
> > If I use the '<' for Justify left. I get the error message: Missing
> > right curly or square braket.
> 
> You need to terminate formats with '.' (a single period), not '..'
> 
> That should fix it,
> -- 
> Michael
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Need help with Perl error Please

2002-02-21 Thread Michael Kelly

On 2/21/02 10:00 PM, Michael Eggleton <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> I have a problem with the Perl format command.
> 
> If I use the '<' for Justify left. I get the error message: Missing
> right curly or square braket.

You need to terminate formats with '.' (a single period), not '..'

That should fix it,
-- 
Michael


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Need help with Perl error Please

2002-02-21 Thread Michael Eggleton

Hi All,

I have a problem with the Perl format command.

If I use the '<' for Justify left. I get the error message: Missing 
right curly or square braket.

So this code below does not work:
format STDOUT =
ZIPPKG: @<<<
$zippkg
  NAME: @<<<
$zippkgName
  CATEGORY: @<<<
$zippkgCategory
  ARCH: @<<<
$zippkgArch
   VERSION: @<<<
$zippkgVersion
   BASEDIR: @<<<
$zippkgBasedir
VENDOR: @<<<
$zippkgVendor
  DESC: @<<<
$zippkgDesc
PSTAMP: @<<<
$zippkgPstamp
STATUS: @<<<
$zippkgStatus
..

BUT!!! If I change the '<' to a '>' like this:
format STDOUT =
ZIPPKG: @>>>
$zippkg
  NAME: @>>>
$zippkgName
  CATEGORY: @>>>
$zippkgCategory
  ARCH: @>>>
$zippkgArch
   VERSION: @>>>
$zippkgVersion
   BASEDIR: @>>>
$zippkgBasedir
VENDOR: @>>>
$zippkgVendor
  DESC: @>>>
$zippkgDesc
PSTAMP: @>>>
$zippkgPstamp
STATUS: @>>>
$zippkgStatus
..

It works just fine, but its all on the right hand side (not what I 
want).  What am I missing?  Can any one help, please.

Michael D. Eggleton
http://www.gorealnetworks.com
mailto:[EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]