![]() |
|
|
|||||||
![]() |
PERL - Re: Very Annoying Perl Quick - Please Help! |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
-----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 |
|
|