Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");

by grep (Monsignor)
on Jun 07, 2007 at 16:31 UTC ( #619847=note: print w/ replies, xml ) Need Help??


in reply to Re: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");
in thread any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");

Unless I'm missing something - it doesn't have to be an overloaded obj or a symbolic ref. It could be just a non-explicit (DWIM) deref.

use strict; use warnings; use Data::Dumper; my $user = [ 'foo','bar' ]; push( @$user,'baz'); print Dumper $user;

grep
1)Gain XP 2)??? 3)Profit


Comment on Re^2: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2015-07-30 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls