Re: Including () and {} in strings.

2012-02-24 Thread Rob Dixon
On 25/02/2012 00:57, Sean Murphy wrote: Hi Rob, Thanks for that. I have spent 30 mins on it and was pulling out my hair. The end of the heredoc had a tab in front. I didn't know this mattered. I had the "tag" included and removed for the heredoc. But I got an error when compiled without the quot

Re: Including () and {} in strings.

2012-02-24 Thread John W. Krahn
Sean Murphy wrote: Hi All. Hello, I have a real issue with strings. I want to build a sub routine skeleton plus some test code. If I use () or {} etc. The string comes out completely messed up. The code below is for a heredoc and complains that I am trying to define a function. If I use the

Re: Including () and {} in strings.

2012-02-24 Thread Rob Dixon
On 25/02/2012 00:41, Sean Murphy wrote: Hi All. I have a real issue with strings. I want to build a sub routine skeleton plus some test code. If I use () or {} etc. The string comes out completely messed up. The code below is for a heredoc and complains that I am trying to define a function. If

Re: Including () and {} in strings.

2012-02-24 Thread Sean Murphy
Hi Rob, Thanks for that. I have spent 30 mins on it and was pulling out my hair. The end of the heredoc had a tab in front. I didn't know this mattered. I had the "tag" included and removed for the heredoc. But I got an error when compiled without the quotes around the Heredoc tag. Now I know w

Re: Including () and {} in strings.

2012-02-24 Thread Rob Dixon
On 25/02/2012 00:41, Sean Murphy wrote: Hi All. I have a real issue with strings. I want to build a sub routine skeleton plus some test code. If I use () or {} etc. The string comes out completely messed up. The code below is for a heredoc and complains that I am trying to define a function. If

Including () and {} in strings.

2012-02-24 Thread Sean Murphy
Hi All. I have a real issue with strings. I want to build a sub routine skeleton plus some test code. If I use () or {} etc. The string comes out completely messed up. The code below is for a heredoc and complains that I am trying to define a function. If I use the skeleton within a string. It

Re: Encoding angle brackets in HTML text nodes

2012-02-24 Thread Shlomi Fish
Hi Webley, On Thu, 23 Feb 2012 18:01:11 -0800 (PST) Webley Silvernail wrote: > --Snipped the previous posts as well as some of the redundant bits from > below.-- > > > >Hello Webley. See my comments below. > >>snip > >They are very different: > > > > my $root = HTML::TreeBuilder->new_from_co

Re: Encoding angle brackets in HTML text nodes

2012-02-24 Thread Webley Silvernail
--Snipped the previous posts as well as some of the redundant bits from below.-- >Hello Webley. See my comments below. >>snip >They are very different: > > my $root = HTML::TreeBuilder->new_from_content($content) > >is the same as > >  my $root = HTML::TreeBuilder->new; >  $root->parse($conten

Re: Encoding angle brackets in HTML text nodes

2012-02-24 Thread Webley Silvernail
On 23/02/2012 00:59, Webley Silvernail wrote: >> >> I have an HTML page that is updated automatically each day. I am >> using  HTML::TreeBuilder to create and insert the new content. >> >> Most of the time, this works fine, but I've hit a snag when existing >> text nodes on the page includes a

Re: perl -E

2012-02-24 Thread Brandon McCaig
On 2012-02-24 10:32:37 -0500, Steve Bertrand wrote: > Hi all, Hello: > Lately, I have seen many command-line one-liners floating around > with the -E argument: > > perl -E '#do stuff' > > Could somebody kindly remind me which perldoc I need to review to > find out about the differences between

Re: perl -E

2012-02-24 Thread Alvin Ramos
perl --help Will explain what the switches do... Regards... On Feb 24, 2012, at 10:32 AM, Steve Bertrand wrote: > Hi all, > > Lately, I have seen many command-line one-liners floating around with the -E > argument: > > perl -E '#do stuff' > > Could somebody kindly remind me which perldoc I

Re: perl -E

2012-02-24 Thread Shawn H Corey
On 12-02-24 10:32 AM, Steve Bertrand wrote: Hi all, Lately, I have seen many command-line one-liners floating around with the -E argument: perl -E '#do stuff' Could somebody kindly remind me which perldoc I need to review to find out about the differences between -e and -E? Steve perldoc p

perl -E

2012-02-24 Thread Steve Bertrand
Hi all, Lately, I have seen many command-line one-liners floating around with the -E argument: perl -E '#do stuff' Could somebody kindly remind me which perldoc I need to review to find out about the differences between -e and -E? Steve -- To unsubscribe, e-mail: beginners-unsubscr...@per