Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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


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.

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-05-06 06:50 GMT
Find Nodes?
    Voting Booth?