Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Passing argument into STDIN inside safe.pm reval

by 7stud (Deacon)
on Feb 12, 2013 at 02:10 UTC ( #1018277=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    
    ...
    print "From STDIN: $line";
    '
    Unsafe code detected: 'private value' trapped by operation mask at (ev
    +al 5) line 1.
    
  2. or download this
    use strict;
    use warnings;
    ...
    --output:--
    $ perl 2.pl 'print "$x\n";'
    Unsafe code detected: 'private value' trapped by operation mask at (ev
    +al 5) line 1.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018277]
help
Chatterbox?
[stevieb]: for the first time ever, I will have 100% of the documentation and unit tests written for a new distribution before writing even a single character of the C or Perl code required :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (17)
As of 2017-01-20 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (176 votes). Check out past polls.