Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 studying the Monastery: (20)
As of 2015-07-06 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls