Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: call string value from bottom

by nysus (Parson)
on Sep 04, 2019 at 18:52 UTC ( [id://11105622]=note: print w/replies, xml ) Need Help??


in reply to call string value from bottom

Not sure what you are trying to accomplish but your code will not compile the way you have it written.

To load variables from the bottom, move them to the top first. But seriously, you can use a BEGIN block if your heart is set on breaking convention:

BEGIN { $johndoe_age = 21; };

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^2: call string value from bottom
by afoken (Chancellor) on Sep 04, 2019 at 19:30 UTC

    Waste of time

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

      I got to entertain myself with my reply, so not a total waste.

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks

        I have to admit that oftentimes, I've found, helping with even the most effortless questions can be a good exercise. Quite a few times I've even bit down on identifiable "homework" type questions where both the question and the question's author were under scrutiny.

        There's absolutely nothing wrong with providing assistance, no matter the circumstances. It's how Perlmonks has thrived. Although everyone may not get along all the time, there's always been an understanding (that I perceive) that says 'we're here to help'.

        Keep doing what you've been doing, nysus :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found