Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Replies are listed 'Best First'.
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.
        Thanks, it solved my issue
        Thanks a lot.

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 pondering the Monastery: (5)
As of 2015-07-08 01:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls