Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Removing blank/empty lines

by perlnoobster (Sexton)
on Dec 11, 2012 at 14:20 UTC ( #1008308=note: print w/replies, xml ) Need Help??


in reply to Re: Removing blank/empty lines
in thread Removing blank/empty lines

hi, thank you for replying, it does not show what I expect it to. it indicates a syntax error near ") print"? Please keep in mind that I am very new to perl and learning bits and pieces :)

Replies are listed 'Best First'.
Re^3: Removing blank/empty lines
by thmsdrew (Scribe) on Dec 11, 2012 at 15:18 UTC

    Make sure you put it inside the loop. The "{ }" brackets contain everything that's inside of your loop.

Re^3: Removing blank/empty lines
by Anonymous Monk on Dec 11, 2012 at 15:14 UTC

    Syntax error it says. There's a close bracket before your print it says.

    Look at the code. Is that the close bracket on your loop list? Did you put the new print inside the curly {}'s of your loop?

      Hello, I put it in the brackets :) and received the following message: Use of uninitialized value in concatenation (.) or string at Text.pl line 92, <IN> line 12. (via secure crt)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008308]
help
Chatterbox?
[Corion]: ambrus: AnyEvent(::HTTP) doesn't integrate well with Prima, that's my main problem
[Corion]: There is a weirdo shim because there is a POE integration for Prima, and if you use that, you can use the POE adapter of AnyEvent. What I'd want is something transport agnostic that parses HTTP or produces HTTP output, so that the communication with ...
[Corion]: ... the socket is done by my code. Ideally that module would not be based on callbacks ;)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2016-12-07 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (130 votes). Check out past polls.