Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: giving spaces

by BillKSmith (Curate)
on Jul 17, 2013 at 14:09 UTC ( #1044817=note: print w/ replies, xml ) Need Help??

in reply to Re^2: giving spaces
in thread giving spaces

If you use use strict; use warnings; you will probably find an error in this statement that has nothing to do with spaces. I suspect that you intend $i to be a subscript. If so,

print " $arrayA[$i] $arrayB[$i] ";
Note: \s is special character class for regular expressions. It does not have the same meaning in a string. Just use space characters.

Comment on Re^3: giving spaces
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-02-09 06:27 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (305 votes), past polls