Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Question about eval

by tiny_tim (Sexton)
on Jan 16, 2007 at 07:15 UTC ( [id://594865]=note: print w/replies, xml ) Need Help??


in reply to Re: Question about eval
in thread Question about eval

Care to explain the print petrol "hi\n"; no error question ? I don't understand. Show me some examples please jesuashok.

Replies are listed 'Best First'.
Re^3: Question about eval
by logie17 (Friar) on Jan 16, 2007 at 18:46 UTC
    If you enable warnings and strict the following is displayed:
    Unquoted string "petrol" may clash with future reserved word at ./blah +.pl line 5. Name "main::petrol" used only once: possible typo at ./blah.pl line 5. print() on unopened filehandle petrol at ./blah.pl line 5.


    Cheers,
    s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;

Log In?
Username:
Password:

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

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

    No recent polls found