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 line 5. Name "main::petrol" used only once: possible typo at ./ line 5. print() on unopened filehandle petrol at ./ line 5.

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