Thread Hilfe ich will gar nicht dividieren !: Argument "XY" isn't numeric in division (8 answers)
Opened by redpantyhose at 2006-08-08 17:13

redpantyhose
 2006-08-08 17:13
#68721 #68721
User since
2005-12-08
12 Artikel
BenutzerIn
[default_avatar]
Hallo Zusammen

Ich habe folgendes Problem :

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
    my autologindir = '/home/autologin';

   # $share_last_element --> //NTSERVER/DATEIEN
   #                                                   {DATEIEN}
   #                                                     ---V---  
   # $share_last_element = 'DATEIEN';

   my $mount_point = "$autologindir/$share_last_element";
   
   #-------------------------------^
   # ERROR: Argument "DATEIEN" isn't numeric in division (/) at /home/autologin/.gen2nfs/lib/Gen2NFS.pm line 514.
   


Ich möchte den String blos zusammenfügen und nicht dividieren ;.( ...

Habe auch flogendes versucht :

my $mount_point = "$autologindir" . '/' . "$share_last_element";

oder

my $mount_point = "$autologindir" . '\/' . "$share_last_element";

oder

my $mount_point = "$autologindir" . '\\/' . "$share_last_element";


ohne Erfolg !

Weiss nicht mehr weiter :.(

Bitte helft mir :.)

Denis

edit pq: code-tags hinzugefügt\n\n

<!--EDIT|pq|1155043740-->

View full thread Hilfe ich will gar nicht dividieren !: Argument "XY" isn't numeric in division