Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: while loop returning numbers not strings

by blue_cowdawg (Monsignor)
on Dec 05, 2012 at 18:19 UTC ( [id://1007357]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    tinker
    sailor
    
  2. or download this
    $ ./fix.pl 
    Global symbol "$lines" requires explicit package name at ./fix.pl line
    + 5.
    ...
    Global symbol "$lines" requires explicit package name at ./fix.pl line
    + 6.
    Global symbol "$word" requires explicit package name at ./fix.pl line 
    +8.
    Execution of ./fix.pl aborted due to compilation errors.
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    tinker
    sailor
    
  4. or download this
    $ ./fix.pl 
    6
    ...
    
  5. or download this
    #!/usr/bin/perl
    
    ...
    tinker
    sailor
    
  6. or download this
    $ ./fix.pl 
    t
    ...
    t
    s
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-23 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found