There's more than one way to do things | |
PerlMonks |
Re: a perl code syntax helpby kcott (Archbishop) |
on Jul 28, 2014 at 11:32 UTC ( [id://1095336]=note: print w/replies, xml ) | Need Help?? |
G'day ghosh123, "In the above code, what does this <<END and END mean ?" The construct
is called a heredoc. Simplistically, it's just a string. In perlop, it's introduced in "Quote and Quote-like Operators" with a lot more detail in "Quote-Like Operators". "how can I change the code which is in between that <<END and END, to insert a if-else condition for that popup_menu." Now that you know that's a string, you probably won't be trying to do that any more. :-) I'd suggest something along these lines:
-- Ken
In Section
Seekers of Perl Wisdom
|
|