>For Quality purposes, Anthony J Segelhorst 's mail on Monday 26 January
2004
>17:17 may have been monitored or recorded as:
> How come when I push a variable to an array it puts one whitespace
before
> the variables on all the lines except the first one? �I would except all
> the lines not to have the extra white space.
..
> print "@temparray";
>Try print @temparay;
>since you have a "\n" at the end of your array (btw: do you really want
>that?) , your records are seperated by something when you print them.
>print " " puts a space in between the eleent as a convienience for people
who
>dont have a "\n" at the end of their emelents.
print @temparay;
This worked, thanks.
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
wolf blaum <[EMAIL PROTECTED]>
01/26/2004 11:39 AM
To:
cc:
Subject: Re: array push
For Quality purpouses, Anthony J Segelhorst 's mail on Monday 26 January
2004
17:17 may have been monitored or recorded as:
> How come when I push a variable to an array it puts one whitespace
before
> the variables on all the lines except the first one? �I would except all
> the lines not to have the extra white space.
..
> print "@temparray";
Try print @temparay;
since you have a "\n" at the end of your array (btw: do you really want
that?) , your records are seperated by something when you print them.
print " " puts a space in between the eleent as a convienience for people
who
dont have a "\n" at the end of their emelents.
hth, wolf
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________
Note: Please update your email address for this user to reflect the
new MeadWestvaco Corporation. MeadWestvaco employee email addresses
are in the format of [EMAIL PROTECTED]
This electronic message contains information from MeadWestvaco
Corporation or subsidiary companies, which may be confidential,
privileged or otherwise protected from disclosure. The
information is intended to be used solely by the recipient(s)
named. If you are not an intended recipient, be aware that
any review, disclosure, copying, distribution or use of this
transmission or its contents is prohibited. If you have
received this transmission in error, please notify MeadWestvaco
immediately at [EMAIL PROTECTED]
_______________________________________________________________________