13 lines
319 B
Perl
13 lines
319 B
Perl
|
#!/usr/local/bin/perl -w
|
||
|
|
||
|
while (<ARGV>)
|
||
|
{
|
||
|
chomp;
|
||
|
($number,$type,$name,$price,$desc) = split (/\|/);
|
||
|
write;
|
||
|
}
|
||
|
|
||
|
format STDOUT =
|
||
|
@>>> @|||||| @<<<<<<<<< @<<<<<<<<<<<<< $@####.##
|
||
|
@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||
|
$.,$number,$type,$name,$price,$desc
|