Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Here document construct problem

by hok_si_la (Curate)
on Feb 17, 2005 at 20:44 UTC ( #432084=note: print w/replies, xml ) Need Help??


in reply to Re: Here document construct problem
in thread Here document construct problem

Artist,

I removed the trailing spaces, and I am still getting the warning. I will update my scratchpad with the new code.

hok_si_la

Replies are listed 'Best First'.
Re^3: Here document construct problem
by Animator (Hermit) on Feb 17, 2005 at 20:55 UTC

    Can you run this code (via the shell/Command Prompt/Run)

    perl -nle "print qq(Check line: $.), if (m/print <<ENDOFHTML;\s+$/ or (m/^(\s*)ENDOFHTML(\s*)$/ and ($1 or $2)))" filename

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://432084]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-03-25 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.