in reply to Substitute: for having tabs between the characters
#!/usr/bin/perl use strict; use warnings; my $bar1 = 'this002haa007hoothat'; my $bar2 = 'abcdef'; my $bar3 = "$bar1\t$bar2"; print "$bar3\n"; #or without $bar3 print "$bar1\t$bar2\n"; __END__ prints: this002haa007hoothat abcdef this002haa007hoothat abcdef
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Substitute: for having tabs between the characters
by snape (Pilgrim) on Apr 13, 2010 at 21:18 UTC | |
by Marshall (Canon) on Apr 13, 2010 at 23:22 UTC |