Go Back   Velocity Reviews > Newsgroups > PERL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

PERL - Re: Very Annoying Perl Quick - Please Help!

 
Thread Tools Search this Thread
Old 07-19-2003, 04:16 PM   #1
Default Re: Very Annoying Perl Quick - Please Help!


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Robert V" <> wrote in
news:rjZRa.483748$. ca:

> Hey all, i'm having problems figuring out this perl quirk. See this
> very basic sample code:
>
> open (rebound, "<rebound.txt");
> flock rebound, 2;
> @rebound=<rebound>;
> close(rebound);

....
> --- When I use the command "print @rebound;" This is what I get:

....
> --- Notice the indentations on all new lines except the first... a
> full spacebar space ... this is a very big deal for me as it's causing
> problems. Funny thing is if I print @rebound back to rebound.txt,
> those white space indentations arent there? Can anyone help me get rid
> of these when printing. Thanx!


1. Your question is Frequently Asked. Please check the perl FAQ before
posting.

2. This newsgroup is defunct. For your future reference, general perl
questions should be asked in comp.lang.perl.misc.

- --
Eric
$_ = reverse sort qw p ekca lre Js reh ts
p, $/.r, map $_.$", qw e p h tona e; print

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPxlgqWPeouIeTNHoEQIO/ACaAnqiUQbAfkWGmJHXey6Epf7NZtsAniRz
ZNNCAPDwvVx2l/uiIwf/mhOc
=LdEF
-----END PGP SIGNATURE-----


Eric J. Roode
  Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump