Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Reaped: Re^2: Can't figure out how to include LAST member of the array

by NodeReaper (Curate)
on Feb 09, 2021 at 20:31 UTC ( [id://11128148]=note: print w/replies, xml ) Need Help??


in reply to Re: Can't figure out how to include LAST member of the array
in thread Can't figure out how to include LAST member of the array

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Reaped: Re^2: Can't figure out how to include LAST member of the array

Replies are listed 'Best First'.
Re^3: Can't figure out how to include LAST member of the array
by jdporter (Paladin) on Feb 09, 2021 at 20:38 UTC

    dude, please stop pretending like you understand perl code, or indeed programming at all. Your response is completely wrong.

      Oh, I'm sorry. I am learning by practicing stuff out; I usually do printing of the values as I go then arrange those somehow before my next subroutine. Here, I just could come up with a good way to get the last element of what will be -(what I think...maybe)- it will be a hash to reference sizes of each polygon. I appreciate the help. Thanks!

        perlynewby the above comment was not directed to you.

        Note that $i <= ($End-1) can be simplified to $i < $End and also you can use single quotes inside double quotes so that you don't have to escape double quotes print "aaa\"xx\"zzz\n"; print "aaa'xx'zzz\n";

        I hope Perl helps you automate

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2024-04-23 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found