Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: executing perl command from a perl file

by haukex (Archbishop)
on May 24, 2021 at 18:12 UTC ( [id://11132983]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse -F, -lanE 'm/module/?say:say qq|.$F[0]($F[0])$F[1]|
    +'
    BEGIN { $/ = "\n"; $\ = "\n"; }
    ...
        our @F = split(/,/u, $_, 0);
        /module/u ? say($_) : say(".$F[0]($F[0])$F[1]");
    }
    
  2. or download this
    use warnings;
    use strict;
    ...
            say ".$F[0]($F[0])$F[1]";
        }
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found