MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

Spit out warnings on uninitialized variables Perl

scmuser created the topic: Spit out warnings on uninitialized variables Perl How to Spit out warnings on uninitialized variables in Perl? rajeshkumar replied the topic: Re: Spit out warnings on uninitialized variables Perl #!/usr/local/bin/perl -w This will help you (really, it will force you) to write better, cleaner code. Adding the -w switch to the … Read more

Installing Perl modules

rajeshkumar created the topic: Installing Perl modules Perl modules may be installed using the CPAN module or from source. CPAN method perl -MCPAN -e shell (to get an interactive CPAN shell) perl -MCPAN -e ‘install Time::JulianDay’ (if you know the name of the module, you can install it directly without interacting with the CPAN shell) … Read more

Access denied for user ‘ODBC’@’localhost

rajeshkumar created the topic: Access denied for user ‘ODBC’@’localhost I am getting following error while running following command…any help > perl -MCPAN -e “install DBD::mysql”; Error D:\wamp\bin\mysql\MYSQL5~1.36\bin\MYSQLA~1.EXE: connect to server at ‘localhost’ failed error: ‘Access denied for user ‘ODBC’@’localhost’ (using password: NO)’ Problem running D:\wamp\bin\mysql\MYSQL5~1.36\bin\MYSQLA~1.EXE – aborting … Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

Use of use DBI;

scmuser created the topic: Use of use DBI; Hi, why do we use following syntax in perl program. can you please explain it? use DBI; rajeshkumar replied the topic: Re: Use of use DBI; Perl’s coolest modules is the Perl database interface (DBI). This module offers a unified interface to different databases, providing a series … Read more

Connect to my MySQL database using Perl?

rajeshkumar created the topic: connect to my MySQL database using Perl? #!/usr/bin/perl use DBI; $database = “DBNAME”; $hostname = “DBSERVER”; $port = “3306”; $username = “DBUSERNAME”; $password = ‘DBPASSWORD’; $dsn = “DBI:mysql:database=$database;host=$hostname;port=$port”; $dbh = DBI->connect($dsn, $username, $password) or die(“Could not connect!”); $sql = “SELECT * FROM mytable”; $sth = $dbh->prepare($sql); $sth->execute; while(($column1, $column2) = $sth->fetchrow_array) … Read more

Why we use ‘use strict’ in perl

scmuser created the topic: Why we use ‘use strict’ in perl Hi, Why you should ‘use strict’? what is the significant of “strict” in out module? rajeshkumar replied the topic: Re: Why we use ‘use strict’ in perl Whenever your program gets over a few lines long, definitely when you can’t view the whole program … Read more

Difference between exec and system in perl?

scmuser created the topic: Difference between exec and system in perl? What are the Difference between exec and system in perl? please explain…. rajeshkumar replied the topic: Re: Difference between exec and system in perl? exec function in perl The exec function executes a system command and never returns; use system instead of exec if … Read more