Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Don't ask to ask, just ask
 
PerlMonks  

Re: Substituting white spaces with a tab changes my string into numeric value

by remiah (Hermit)
on Sep 20, 2012 at 02:30 UTC ( #994576=note: print w/ replies, xml ) Need Help??


in reply to Substituting white spaces with a tab changes my string into numeric value

change

$line = s/\s+/\t/g;
to
$line =~ s/\s+/\t/g;


Comment on Re: Substituting white spaces with a tab changes my string into numeric value
Re^2: Substituting white spaces with a tab changes my string into numeric value
by PerlPeer (Novice) on Sep 20, 2012 at 02:33 UTC

    Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-04-21 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (490 votes), past polls