Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: my within brackets

by eyepopslikeamosquito (Archbishop)
on Oct 14, 2021 at 23:35 UTC ( [id://11137560]=note: print w/replies, xml ) Need Help??


in reply to my within brackets

Bod, for future reference, note that B::Deparse is a handy way to see how the Perl parser interprets your code. Running:

> cat bod-oh-my.pl (my $pname,my $sname)=split / +/,$rname,2; > perl -MO=Deparse bod-oh-my.pl my($pname, $sname) = split(/ +/, $rname, 2); bod-oh-my.pl syntax OK
verifies that your razor-sharp Perl intuitions were spot on today.

Update: In case you're interested, -MO=Deparse feels like an old friend to me, after using it time after time while testing and verifying Acme::EyeDrops and when playing golf. :)

Replies are listed 'Best First'.
Re^2: my within brackets
by Bod (Parson) on Oct 18, 2021 at 20:56 UTC

    Thanks eyepopslikeamosquito - B::Deparse is something I have heard seen mentioned a few times in the Monastery. But, until now I haven't really thought it might help me. I shall add it to the (growing) list of things that I need to look into...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found