Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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

Replies are listed 'Best First'.
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 about the Monastery: (7)
As of 2016-06-26 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (330 votes). Check out past polls.