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

Cleaning up the warnings. (was Obfu spoiler: vladb's sig)

by jarich (Curate)
on May 29, 2002 at 05:03 UTC ( #169978=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [me]$ ls -a .sav*
    .saves-19639-~  .saves-19896-~  .saves-19896333-~  .saves-22-~
    [me]$ perl tmp
    + ./.saves-22-~- ./.saves-19896333-~+ ./.saves-19639-~- ./.saves-19896
    +-~[me]$
    
  2. or download this
    [me]$ perl -w tmp
    Useless use of single ref constructor in void context at tmp line 2.
    ...
    Use of uninitialized value in print at tmp line 3.
    + ./.saves-19639-~Odd number of elements in hash assignment at tmp lin
    +e 2.
    - ./.saves-19896333-~Use of uninitialized value in print at tmp line 3
    +.
    
  3. or download this
    `@$_`?{print"+ $1"}:{print"- $1"}&&`rm $1`;
    
  4. or download this
    `@$_`?print"+ $1":print("- $1")&&`rm $1`;
    
  5. or download this
    [me]$ perl -w tmp
    Use of uninitialized value in print at tmp line 3.
    + ./.saves-22-~- ./.saves-19896333-~Use of uninitialized value in prin
    +t at tmp line 3.
    + ./.saves-19639-~- ./.saves-19896-~Use of uninitialized value in prin
    +t at tmp line 3.
    
  6. or download this
    print$\;     # cause of last warning
    
    ...
    print"\n";
    print qq'\n';
       #etc.
    
  7. or download this
    [me]$ perl tmp
    + ./.saves-22-~
    ...
    + ./.saves-19639-~
    - ./.saves-19896-~
    [@me]$ 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://169978]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2016-12-09 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (152 votes). Check out past polls.