Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: float: Perl is replacing dot with comma (automagic locale?)

by muba (Priest)
on May 15, 2014 at 15:14 UTC ( [id://1086161]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    use strict;
    ...
    sub printer {
            print "This is ". $My::Test::VERSION ."\n";
    }
    
  2. or download this
    test: 1.23
    Use of uninitialized value $My::Test::VERSION in concatenation (.) or 
    +string at
    x.pl line 17.
    This is
    1
    
  3. or download this
    my $test = 1.23;
    
  4. or download this
    SYMBOL TABLE:
    $test = 1.23
    
  5. or download this
    print "test: $test \n";
    
  6. or download this
    print My::Test::Print::printer() ."\n";
    
  7. or download this
            print "This is ". $My::Test::VERSION ."\n";
    
  8. or download this
    # mytest.pl:
    
    ...
    sub printer {
            print "This is ". $MyTest::VERSION ."\n";
    }
    
  9. or download this
    # MyTest.pm:
    package MyTest;
    our $VERSION = 1.11;
    
  10. or download this
    $ perl mytest.pl
    This is 1.11
    
  11. or download this
    #!perl
    use strict;
    ...
    sub printer {
            print "This is ". $My::Test::VERSION ."\n";
    }
    
  12. or download this
    $ perl mytest.pl
    This is 1.11
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1086161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-19 20:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found