Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Perl: Aufruf eines 2. Scripts

Empfohlene Antworten

Veröffentlicht

Tach,

ich schreib hier gerade an grafischen Oberflächen mit TK. Nun will ich beim click auf einen Button einen 2. Dialog starten. Eigentlich bräuchte ich nur ein 2. Perlscript starten. Hat jemand na Ahnung wie man das macht? gibts da irgendeine command-funktion?

`

Gibts hier eigentlich auch jemanden, der sich mit TK auskennt?

Servus,

entweder du machst als Systemaufruf über "exec", was ich aber nicht wirklich empfehle.

Mache es lieber mit "require" oder "use".

Bsp:

#!/usr/local/bin/perl -w

print "Erste Zeile des Hauptprogramms\n";

require "zweites-script.pl"; # jetzt das zweite Script aufgerufen

print "Ende des Hauptprogramms\n"; # Wird ausgegeben wenn das zweite Script fertig ist.

cu

alligator

Supa, funtzt genau so wie es soll. Danke

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.