Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Indirect Object Syntax

by Bod (Vicar)
on Nov 06, 2021 at 20:19 UTC ( #11138527=note: print w/replies, xml ) Need Help??

in reply to Re: Indirect Object Syntax
in thread Indirect Object Syntax

my @bounds = new GD::Image->stringFT($colour, "Image/outline.ttf", 90, + 0.18, 0, 0, $watermark_text);
it's never a good idea to mix two syntax variations
use my @bounds = GD::Image->new->stringFT($colour, "Image/outline.ttf" +, 90, 0.18, 0, 0, $watermark_text);

Thanks Rolf,

I had never realised that I was mixing two different syntaxes...
It is obvious now that you point it out and I am wondering how I could have not realised up to this point in time!

That helps a lot 👍

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138527]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2023-12-10 13:48 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (40 votes). Check out past polls.