Thread Formatausgabe in Variable: und nicht auf STDOUT (8 answers)
Opened by macMeck at 2005-11-26 00:20

renee
 2005-11-26 09:27
#60424 #60424
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
schonmal folgendes probiert:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
my $format = q~
Check me out
@<<< @||| @>>>
~;

my $string = swrite($format,1,2,3);
print $string;

sub swrite{
my $format = shift;
$^A = "";
formline($format,@_);
return $^A;
}
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Formatausgabe in Variable: und nicht auf STDOUT