• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
syntax coloring for here-doc style Perl code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

syntax coloring for here-doc style Perl code


  • Subject: syntax coloring for here-doc style Perl code
  • From: Dave Viner <email@hidden>
  • Date: Wed, 10 May 2006 14:31:03 -0700

Hi,

I'm testing out Xcode as an editor for some perl/apache work which I'm diving into. While I've been impressed by Xcode as an IDE, I can't figure out how to get Xcode to highlight my perl source code correctly. In particular, Xcode seems to stumble on Heredoc style syntax in Perl. (For more on heredoc syntax, see EOF subsection at http://perldoc.perl.org/perlop.html#Regexp-Quote-Like-Operators- operator,-regexp.)

Does anyone know how to make that work?

A sample snippet of code is:

$this = "works fine";
print <<EOF;
this will fail miserably, especially if there's a single quote.
EOF

Thanks
Dave Viner

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Any predefined macro for current function?
  • Next by Date: Re: Still cannot get it to link - please help.
  • Previous by thread: Re: errors
  • Next by thread: How to dump core?
  • Index(es):
    • Date
    • Thread