Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Reoccuring message

by Kenosis (Priest)
on Oct 04, 2012 at 19:29 UTC ( #997299=note: print w/ replies, xml ) Need Help??


in reply to Reoccuring message

Always:

use strict; use warnings;

Also, use lexically-scoped variables, e.g.:

my @array ... my $i ... my $element ...

And I think you may have meant the following:

$i < 10 $array[$i]

Hope this helps!


Comment on Re: Reoccuring message
Select or Download Code
How to remove CR LF in Notepad++
by truthseeker66 (Novice) on Oct 04, 2012 at 19:34 UTC
    Now I see CR LF at the end of every line in Notepad++. I didn't see this before and suddenly it appeared. Could you tell me how to remove this? #/usr/bin/perl CR LF . . . . Thank you,

      Hi truthseeker66,

      Not exactly a Perl question (I think), but in Notepad++, there should be a paragraph icon in the toolbar with a tooltip of "Show All Characters". Making sure that button is "out" (unpressed? what's the real term?) should make the CR/LF characters not show.

      Otherwise, going to View / Show Symbol / Show All Characters should do the same thing as the toolbar button - just make sure that menu item is not checked.

      Enjoy,
        Thank you for showing me how to remove it. Now it's gone.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997299]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-09-02 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (21 votes), past polls