Thread (Message) | Date | Author |
Score |
Board |
Schleifengeschwindigkeit
(#122117) |
2009-05-30 23:27 |
sid burn
|
 |
Allgemeines zu Perl |
Wenn du Net::IP verbessern möchtest dann musst du folgende Subroutinen Optimieren:
Net::IP::ip_bincomp => ~4s
Net::IP::ip_bintoint => ~2s
Net::IP::ip_binadd => ~2s
Sinvoller wäre es aber… |
|
Hilfe bei charset und use utf8
(#176354) |
2014-07-10 14:02 |
bianca
|
 |
Allgemeines zu Perl |
… [c]use utf8;[/c] aktiviere erhalte ich [code]Wide character in subroutine entry at D:/meinpfad/test_charset1.pl line 21[/code]
Warum ist das so, ich verstehe das nicht?
Bitte stellenweise… |
|
In Taskleiste verschwinden lassen
(#43211) |
2005-04-21 11:11 |
zipster
|
 |
Graphische Oberflächen |
Und das hinter der => sagt aus welche Subroutine aufgerufen werden soll.
">> Starten" => "Systray_start",
>> bedeutet das es ein Untermenüpunkt ist. |
|
toplevel in bildschirmmitte positionieren
(#44521) |
2003-10-05 09:04 |
skontox
|
 |
Graphische Oberflächen |
…
#### hier die SUB: ####
#### Diese Subroutine Berechnet die zentrierte Darstellung auf dem Bildschirm ####
sub zentriere_fenster {
my $widget = shift; # Fenster als Übergabeparameter
my… |
|
einfaches Websiteformular - bitte um Hilfe
(#34562) |
2006-08-01 00:10 |
renee
|
 |
Datenbanken und Verzeichnisdienste |
… # Subroutines #
#------------------------------------------------------------------------------#
##
# Methode zum Speichern der… |
|
Vererbung
(#122823) |
2009-07-03 11:31 |
sid burn
|
 |
Allgemeines zu Perl |
… ist auch deswegen unpassend da ich ein Skalar oder auch eine Subroutine oder Regex als grundbaustein des Objektes nehmen kann. Deswegen sehe ich eine Datenstruktur auch nicht als Attribute an. |
|
Variable wird falsch dargestellt: (war: verzweifung - bitte um Hilfe...)
(#4709) |
2005-03-30 12:04 |
renee
|
 |
Perl/CGI |
… POSTEN => \@array,);
print $template->output();
##
# Subroutines
##
sub get_date{
my $tm = shift || time;
my @lt = localtime($tm);
my $datum = sprintf "%02d.%02d.%04d", $lt[3], $lt[4] +… |
|
Installationsfehler RPC::XML
(#156753) |
2012-03-12 08:22 |
bianca
|
 |
Fragen zu Perl-Modulen |
34/110 Use of uninitialized value in subroutine entry at C:\strawberry\perl\vendor\lib/XML/LibXML.pm line 846.
Use of uninitialized value in subroutine entry at… |
|
wieder mal email
(#3607) |
2004-08-31 17:20 |
jan7891
|
 |
Perl/CGI |
… sub check_required {
# Localize the variables used in this subroutine. #
local($require, @error);
if (!$Config{'recipient'}) {
if (!defined(%Form)) {… |
|
Zeilenumbrüche in html: Perl Skript macht keine Zeilenumbrüche
(#5747) |
2005-10-06 17:04 |
Dennis79
|
 |
Perl/CGI |
… sub check_required {
# Localize the variables used in this subroutine. #
local($require, @error);
# The following insures that there were no newlines in… |
|
Wx, Problem beim compilieren
(#48168) |
2006-12-30 13:37 |
tonewheel
|
 |
Installation und Konfiguration |
Use of uninitialized value in subroutine entry at /root/.cpan/build/Wx-0.67/blib/lib/Wx.pm line 83.
t/07_overload.........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. |
|
Warum Perl???: Warum Perl und nicht PHP???
(#67461) |
2006-06-20 16:42 |
jan
|
 |
Allgemeines zu Perl |
… in allen includeten dateien global gültig sind, nicht jedoch in subroutinen. dort wiederum können sie aber mit <i>global</i> importiert werden.
register globals
don't get me started. |
|
CGI+HTML+DB durchsuchen+TXT generieren
(#9211) |
2006-12-18 16:33 |
lolipop 999
|
 |
Perl/CGI |
… 'Keine Aktion ausgewählt';
}
$dbh->disconnect();
### Start Subroutine Suche ###
sub suche{
my ($cgi,$dbh,%params) = @_;
my $stmt = qq~SELECT Tabelle1.Kundennummer… |
|
Perl OOP
(#70149) |
2006-09-22 18:43 |
sid burn
|
 |
Allgemeines zu Perl |
Kann man nicht den "->" überladen so das er zwei Argumente einer Subroutine übergibt? ;) So dass "$user->set_duration->add" letztendlich einem "user::set_duration( 'anne', 'add') entspricht? ;)
Dann… |
|
Punkterechnungsprogramm
(#187001) |
2017-07-22 13:19 |
guest DieZahl
|
 |
Allgemeines zu Perl |
Argument für die Subroutine zur Verfügung gestellt wird.
#Die Anweisung überprüft auf die Vollständigkeit der Argumente.
#Fals etwas nicht der Überprüfung entspricht wird eine Warnung ausgegeben. |
|
Event Handler für TCP/IP Port
(#38153) |
2004-04-19 17:05 |
Andreas
|
 |
Netzwerkprogrammierung und Netzwerke mit Perl |
… #
# DESCRIPTION:
# This package encloses the subroutines necessary for communication with LabVIEW:
#
# Open_LV_Connection([$port,$timeout]);
# returns a filehandle that can be used with "print"… |
|
Ein Katalog-System: Titel und Untertitel
(#81674) |
2004-04-30 20:57 |
guest Gast
|
 |
Allgemeines zu Perl |
… # Only for Testing the Subroutine.
# Convert array to hash
# and print the list of categories ... |
|
Welche Funktion in welchem Modul?
(#54128) |
2005-04-22 22:51 |
J-jayz-Z
|
 |
Allgemeines zu Perl |
…
#TK Programm ausführen
MainLoop();
#Subroutine look erzeugen
sub look {
if (!$radio_select)
{
#Popup für keine gewählte Funktion
my $popup =… |
|
Mini Datenbank
(#171132) |
2013-10-13 11:26 |
der_thomas
|
 |
Projekte |
Version 2 wäre wie Version 1, nur ohne OOP, also Modul mit Subroutinen.
Version 3 wäre jeden einzelnen Datensatz per einzelner Instanz darzustellen. |
|
RegEx: großes, umfangreiches Problem
(#65089) |
2003-08-18 13:43 |
pktm
|
 |
Allgemeines zu Perl |
… vergleichen?
<li>Wie kann man eine oder mehrere Liste in eine Subroutine übergeben?
<li>letztes Element ausgeben
<li>Schleife über alle Indizies
<hr />
<H2 align=left>Wie kann man Listen… |